cbcvebase.
CVE-2012-3153
published 2012-10-16

CVE-2012-3153: Unspecified vulnerability in the Oracle Reports Developer component in Oracle Fusion Middleware 11.1.1.4, 11.1.1.6, and 11.1.2.0 allows remote attackers to…

PriorityP279medium6.4CVSS 2.0
AVNACLAuNCPIPAN
ITWEXPLOITVulnCheck KEVInitial access
Exploited in the wild
EPSS
98.22%
99.9th percentile
Unspecified vulnerability in the Oracle Reports Developer component in Oracle Fusion Middleware 11.1.1.4, 11.1.1.6, and 11.1.2.0 allows remote attackers to affect confidentiality and integrity via unknown vectors related to Servlet. NOTE: the previous information is from the October 2012 CPU. Oracle has not commented on claims from the original researcher that the PARSEQUERY function allows remote attackers to obtain database credentials via reports/rwservlet/parsequery, and that this issue occurs in earlier versions. NOTE: this can be leveraged with CVE-2012-3152 to execute arbitrary code by uploading a .jsp file.

Affected

3 ranges
VendorProductVersion rangeFixed in
oraclefusion_middleware
oraclefusion_middleware
oraclefusion_middleware

Detection & IOCsextracted from sources · hover to see the quote

url/reports/rwservlet/parsequery
url/reports/rwservlet/showenv
url/reports/rwservlet/showmap
url/reports/rwservlet?report=test.rdf&desformat=html&destype=cache&JOBTYPE=rwurl&URLPARAMETER=file:///
url/reports/rwservlet?report=test.rdf+desformat=html+destype=file+desname=/<path>/images/<payload>.jsp+JOBTYPE=rwurl+URLPARAMETER=<payload_url>
path/reports/images/<random8>.jsp
filenametest.rdf
sigma
detection: keywords: '/reports/rwservlet/showenv' OR '/reports/rwservlet/parsequery' OR '/reports/rwservlet/showmap' OR 'JOBTYPE=rwurl' OR 'URLPARAMETER='
  • Detect credential harvesting attempts via GET requests to /reports/rwservlet/parsequery with keymap parameters; responses containing 'userid=<user>@' indicate successful credential disclosure.
  • Detect file-write exploitation attempts via GET requests to /reports/rwservlet with parameters destype=file, JOBTYPE=rwurl, and URLPARAMETER pointing to an external URL; this is the payload upload vector.
  • Detect JSP webshell execution by monitoring GET requests to /reports/images/*.jsp following prior upload activity to the same host.
  • Use Shodan/FOFA queries for exposed Oracle WebLogic/Reports instances as attack surface identification: http.title:"weblogic" or body containing "weblogic application server".
  • HTTP response body containing 'Reports Servlet' on /reports/rwservlet/showenv confirms an exposed Oracle Reports endpoint.
  • ·The file-write (CVE-2012-3152) upload path depends on the local filesystem path disclosed by showenv; the payload is written to <disclosed_path>/images/<random>.jsp and accessed via /reports/images/<random>.jsp. The PAYDIR option defaults to '/images/' in the Metasploit module.
  • ·Exploitation of CVE-2012-3153 (credential/path disclosure) is chained with CVE-2012-3152 (arbitrary file write) to achieve RCE; neither CVE alone is sufficient for full compromise in the automated exploit.
  • ·The JSP payload size has a ~60,000 character Java string limit; the Metasploit module splits the base64-encoded payload into two chunks if it exceeds this threshold.

CVSS provenance

nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:P/A:N
vulncheck9.1CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.