Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2012-3152 — Threaded scanner and proof-of-concept for CVE-2012-3152, detecting unauthenticated arbitrary file read in Oracle Reports rwservlet via JOBTYPE=rwurl file:// probes. | Kitploit
Tools/GitHubGitHub/jonathan1010/cve-2012-3152
Vulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationInformation GatheringPenetration Testing
GitHubjonathan1010/cve-2012-3152

CVE-2012-3152

Threaded scanner and proof-of-concept for CVE-2012-3152, detecting unauthenticated arbitrary file read in Oracle Reports rwservlet via JOBTYPE=rwurl file:// probes.

View Repository
Dec 4, 2026Not yet reviewed

Related Tools

  • nuclei

    Fast YAML-based vulnerability scanner with template-driven detection engine for automated security testing across web apps, APIs, networks, DNS, and cloud infrastructure.

  • zaproxy

    Open-source web application security scanner for automated vulnerability detection, manual penetration testing, and API security testing with a proxy-based interception engine.

  • openvas-scanner

    This repository contains the scanner component for Greenbone Community Edition.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    721
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    535
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    419

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2012-3152

Oracle Reports rwservlet - Arbitrary File Read

Metadata

fieldvalue
CVECVE-2012-3152
severitycritical
CVSS9.1 (record); NVD primary CVSS:3.1 9.1 CRITICAL, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N; EPSS 0.98881 (0.99926 percentile)
fixed inOctober 2012 Oracle Critical Patch Update (affected per NVD: Fusion Middleware 11.1.1.4, 11.1.1.6, 11.1.2.0)
classarbitrary file read via rwservlet JOBTYPE=rwurl + URLPARAMETER=file:// (NVD lists NVD-CWE-noinfo); in the CISA KEV catalog since 2021-11-03
scanner version1.0.0
python3.8+ stdlib only, no third-party deps

Exploit

If you want the exploit, find it here: https://satoshidisk.com/pay/CT5RRo

Summary

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 per the original researcher) lets unauthenticated attackers read and write arbitrary files through the reports/rwservlet URLPARAMETER feature. A GET with JOBTYPE=rwurl and URLPARAMETER set to a file:// URL makes the Reports servlet open that path and echo the raw bytes with content-type application/octet-stream (OSVDB-86395, EDB 31253). Patched in the October 2012 Oracle CPU; listed in the CISA Known Exploited Vulnerabilities catalog.

Combined with CVE-2012-3153 (which adds files) this has been used to upload a JSP shell and get code execution. The template and both scripts here only perform a safe file:// read of /etc/passwd or Windows C:/Windows/win.ini and do not write files.

Full description

The October 2012 Oracle CPU describes this as an unspecified vulnerability in the Oracle Reports Developer component of Oracle Fusion Middleware 11.1.1.4, 11.1.1.6 and 11.1.2.0 that allows remote attackers to affect confidentiality and integrity via unknown vectors related to the Report Server Component. The original researcher (Full Disclosure, Jan 2014) showed the concrete vectors: the rwservlet endpoint honours JOBTYPE=rwurl with a caller-supplied URLPARAMETER, so file:///etc/passwd (Linux) or file:///C:/Windows/win.ini (Windows) is returned verbatim, and the sibling CVE-2012-3153 writes a .jsp through the same handler for code execution.

Detection is two requests, exactly like the template (flow: http(1) && http(2), max-request: 2): first the home page is fingerprinted for the string oracle business, then the rwurl read probe runs with stop-at-first-match between the linux-passwd matcher (status 200, body matches regex root:.*:0:0:, content-type contains application/octet-stream) and the windows-winini matcher (status 200, body contains [fonts] and [extensions], content-type contains application/octet-stream). The OR-pair matcher condition plus the octet-stream content-type is what separates a live rwurl echo from the HTML shell of the same page.

Detection model

  • Identification request first: GET / must return 200 with oracle business in the lowercased body (template internal matcher, condition: and); if it misses, the probes are not scored, mirroring flow: http(1) && http(2).
  • Primary probe: GET /reports/rwservlet?report=test.rdf&desformat=html&destype=cache&JOBTYPE=rwurl&URLPARAMETER=file:///etc/passwd; linux-passwd matcher = 200 AND regex root:.*:0:0: AND application/octet-stream in content-type.
  • Fallback probe (only when the linux matcher misses, i.e. template stop-at-first-match: true): same query with URLPARAMETER=file:///C:/Windows/win.ini; windows-winini matcher = 200 AND [fonts] AND [extensions] AND octet-stream content-type.
  • matchers-condition: or over the two probes: vulnerable = identify AND (linux-passwd OR windows-winini); the matched name (linux-passwd / windows-winini) is recorded in the details.
  • A target that never answers the status line is scored error, not not-vuln.
  • Rows are streamed to the CSV as each worker finishes; the optional --json sidecar mirrors the same rows for tooling.

Usage

Scanner:

python scanner/CVE-2012-3152/scanner.py urls.txt [threads] [out.csv] [--json out.json]

urls.txt takes one target per line (# comments skipped, scheme auto-prepended when missing), e.g. reports.local or http://reports.local:8888. Oracle Reports is commonly served on 8888 (or behind the WebLogic port 7001) with the servlet under /reports/rwservlet.

python exploit/CVE-2012-3152/exploit.py http://reports.local:8888 [--csv out.csv] [--json out.json] [--verbose]

It fetches the home page for identification, replays the rwurl file:// probe (win.ini fallback on miss), prints numbered checks 1 to 7, the result dict, and the final verdict line.

Example scanner output

RCE POC SUITE
 scanner : CVE-2012-3152 v1.0.0 (Oracle Reports Developer, Fusion Middleware 11.1.1.4 / 11.1.1.6 / 11.1.2.0)
 endpoint: GET /reports/rwservlet?report=test.rdf&desformat=html&destype=cache&JOBTYPE=rwurl&URLPARAMETER=file:///etc/passwd (fallback file:///C:/Windows/win.ini)
 threads : 4 | csv: cve3152.csv | json: cve3152.json
[2026-12-03 12:36:48] loaded 1 target(s) from urls.txt
[2026-12-03 12:36:48] [1/1] http://reports.local:8888 -> VULNERABLE
[2026-12-03 12:36:48] json sidecar saved: cve3152.json
[2026-12-03 12:36:48] summary: total=1 vulnerable=1 not-vuln=0 errors=0
[2026-12-03 12:36:48] timing : avg=12ms max=12ms wall=0.01s
[2026-12-03 12:36:48] report saved: cve3152.csv

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided (scheme auto-prepended when missing)
statusok when a status line was seen, error otherwise
vulnerablecheck() verdict: identification AND one file-read matcher
elapsed_msper-target wall time
token12-char md5 over the JSON details (exec-vs-reflection proof)
result_b64base64(JSON) with identify, probe_linux, optional probe_windows, chosen probe, matcher flags, matched, elapsed_ms, token

Files

  • scanner/CVE-2012-3152/scanner.py - threaded black-box scanner, streamed CSV + JSON sidecar.
  • exploit/CVE-2012-3152/exploit.py - two-stage POC with numbered checks and the token comparison.
  • scanner/CVE-2012-3152/README.md - this note.
  • scanner/CVE-2012-3152/DESCRIPTION.md - architecture, probe plan, token scheme, contracts.

Exit codes

  • 0 - at least one target produced a status line (scanner) or the token comparison verified (POC).
  • 2 - every target errored out (scanner) or the final token comparison failed (POC, by design, see DESCRIPTION.md section 3).

References

  • Nuclei template: http/cves/2012/CVE-2012-3152.yaml (projectdiscovery/nuclei-templates)
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2012-3152
  • Exploit-DB 31253: https://www.exploit-db.com/exploits/31253
  • Oracle October 2012 CPU: http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html
  • CISA KEV: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-3152
Download Tool