ID CVE-2021-22145
Summary A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. A user with the ability to submit arbitrary queries to Elasticsearch could submit a malformed query that would result in an error message returned containing previously used portions of a data buffer. This buffer could contain sensitive information such as Elasticsearch documents or authentication details.
References
Vulnerable Configurations
  • cpe:2.3:a:elastic:elasticsearch:7.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.10.1:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.10.2:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.11.1:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.11.1:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.11.2:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.11.2:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.12.1:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.13.0:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.13.0:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.13.1:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.13.2:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.13.2:*:*:*:*:*:*:*
  • cpe:2.3:a:elastic:elasticsearch:7.13.3:*:*:*:*:*:*:*
    cpe:2.3:a:elastic:elasticsearch:7.13.3:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.8.0:*:*:*:*:*:*:*
CVSS
Base: 4.0 (as of 10-05-2022 - 15:25)
Impact:
Exploitability:
CWE CWE-209
CAPEC
  • Blind SQL Injection
    Blind SQL Injection results from an insufficient mitigation for SQL Injection. Although suppressing database error messages are considered best practice, the suppression alone is not sufficient to prevent SQL Injection. Blind SQL Injection is a form of SQL Injection that overcomes the lack of error messages. Without the error messages that facilitate SQL Injection, the adversary constructs input strings that probe the target through simple Boolean SQL expressions. The adversary can determine if the syntax and structure of the injection was successful based on whether the query was executed or not. Applied iteratively, the adversary determines how and where the target is vulnerable to SQL Injection.
  • Padding Oracle Crypto Attack
    An adversary is able to efficiently decrypt data without knowing the decryption key if a target system leaks data on whether or not a padding error happened while decrypting the ciphertext. A target system that leaks this type of information becomes the padding oracle and an adversary is able to make use of that oracle to efficiently decrypt data without knowing the decryption key by issuing on average 128*b calls to the padding oracle (where b is the number of bytes in the ciphertext block). In addition to performing decryption, an adversary is also able to produce valid ciphertexts (i.e., perform encryption) by using the padding oracle, all without knowing the encryption key. Any cryptosystem can be vulnerable to padding oracle attacks if the encrypted messages are not authenticated to ensure their validity prior to decryption, and then the information about padding error is leaked to the adversary. This attack technique may be used, for instance, to break CAPTCHA systems or decrypt/modify state information stored in client side objects (e.g., hidden fields or cookies). This attack technique is a side-channel attack on the cryptosystem that uses a data leak from an improperly implemented decryption routine to completely subvert the cryptosystem. The one bit of information that tells the adversary whether a padding error during decryption has occurred, in whatever form it comes, is sufficient for the adversary to break the cryptosystem. That bit of information can come in a form of an explicit error message about a padding error, a returned blank page, or even the server taking longer to respond (a timing attack). This attack can be launched cross domain where an adversary is able to use cross-domain information leaks to get the bits of information from the padding oracle from a target system / service with which the victim is communicating. To do so an adversary sends a request containing ciphertext to the target system. Due to the browser's same origin policy, the adversary is not able to see the response directly, but can use cross-domain information leak techniques to still get the information needed (i.e., information on whether or not a padding error has occurred). For instance, this can be done using "img" tag plus the onerror()/onload() events. The adversary's JavaScript can make web browsers to load an image on the target site, and know if the image is loaded or not. This is 1-bit information needed for the padding oracle attack to work: if the image is loaded, then it is valid padding, otherwise it is not.
  • Query System for Information
    An adversary, aware of an application's location (and possibly authorized to use the application), probes an application's structure and evaluates its robustness by submitting requests and examining responses. Often, this is accomplished by sending variants of expected queries in the hope that these modified queries might return information beyond what the expected set of queries would provide.
  • Fuzzing for garnering J2EE/.NET-based stack traces, for application mapping
    An attacker sends random, malformed, or otherwise unexpected messages to a target application and observes any stack traces produced by error messages. Fuzzing techniques involve sending random or malformed messages to a target and monitoring the target's response. The attacker does not initially know how a target will respond to individual messages but by attempting a large number of message variants they may find a variant that trigger's desired behavior. In this attack, the purpose of the fuzzing is to cause the targeted application to return an error including a stack trace, although fuzzing a target can also sometimes cause the target to enter an unstable state, causing a crash. The stack trace enumerates the chain of methods that led up to the point where the error was encountered. This can not only reveal the names of the methods (some of which may have known weaknesses) but possibly also the location of class files and libraries as well as parameter values. In some cases, the stack trace might even disclose sensitive configuration or user information.
  • Fuzzing and observing application log data/errors for application mapping
    An attacker sends random, malformed, or otherwise unexpected messages to a target application and observes the application's log or error messages returned. Fuzzing techniques involve sending random or malformed messages to a target and monitoring the target's response. The attacker does not initially know how a target will respond to individual messages but by attempting a large number of message variants they may find a variant that trigger's desired behavior. In this attack, the purpose of the fuzzing is to observe the application's log and error messages, although fuzzing a target can also sometimes cause the target to enter an unstable state, causing a crash. By observing logs and error messages, the attacker can learn details about the configuration of the target application and might be able to cause the target to disclose sensitive information.
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:N/AC:L/Au:S/C:P/I:N/A:N
Last major update 10-05-2022 - 15:25
Published 21-07-2021 - 15:15
Last modified 10-05-2022 - 15:25
Back to Top