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

CVE-2012-3152: 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…

PriorityP195critical9.1CVSS 3.1
AVNACLPRNUINSUCHIHAN
KEVITWEXPLOITInitial access
CISA Known Exploited Vulnerabilitydue 2022-05-03
Exploited in the wild
EPSS
98.69%
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 Report Server Component. NOTE: the previous information is from the October 2012 CPU. Oracle has not commented on claims from the original researcher that the URLPARAMETER functionality allows remote attackers to read and upload arbitrary files to reports/rwservlet, and that this issue occurs in earlier versions. NOTE: this can be leveraged with CVE-2012-3153 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/showmap
url/reports/rwservlet?report=test.rdf&desformat=html&destype=cache&JOBTYPE=rwurl&URLPARAMETER=file:///
path/reports/rwservlet
commandreport=test.rdf+desformat=html+destype=file+desname=/<path>/images/<payload>.jsp+JOBTYPE=rwurl+URLPARAMETER='<payload_url>'
sigma
matchers: contains(body_1, "Reports Servlet") AND !contains(body_2, "<html") AND !contains(body_2, "<HTML") AND status=200
  • Detect exploitation attempts by monitoring HTTP GET requests to /reports/rwservlet/showenv, /reports/rwservlet/showmap, and /reports/rwservlet/parsequery — these endpoints are abused to leak server paths and credentials prior to payload upload.
  • Flag HTTP requests to /reports/rwservlet containing JOBTYPE=rwurl and URLPARAMETER= parameters, especially with file:// or external URLs, as these are used to fetch and write arbitrary files (including JSP webshells) to the server.
  • Monitor for newly created .jsp files under the /reports/images/ directory on Oracle Reports servers, as the exploit uploads the webshell to this path and then executes it via HTTP.
  • Use Shodan/FOFA queries to identify exposed Oracle WebLogic/Reports instances that may be vulnerable: http.title:"weblogic" or http.html:"weblogic application server".
  • The exploit response fingerprint for a vulnerable URLPARAMETER endpoint is a 200 response body that does NOT contain '<html' or '<HTML' — use this as a detection matcher.
  • Credential theft via parsequery: monitor for HTTP requests to /reports/rwservlet/parsequery which may return userid= and server= parameters containing database credentials in plaintext.
  • Threat actor Volatile Cedar (Lebanon-affiliated APT) has been observed exploiting CVE-2012-3152 against Atlassian and Oracle 10g servers; associated malware is detected as Trojan.Win32.Explosive.
  • ·The vulnerability affects Oracle Fusion Middleware versions 11.1.1.4, 11.1.1.6, and 11.1.2.0, but the parsequery credential disclosure issue is noted to also occur in earlier versions.
  • ·The PAYDIR option defaults to /images/ for payload drop location; defenders should monitor this path but attackers can configure an alternate directory.

CVSS provenance

nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:P/A:N
vulncheck9.1CRITICAL
cisa9.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.