
Scanner and exploit for CVE-2010-0738, a JBoss JMX/Web Console authentication bypass via HTTP verb tampering, with multi-pair detection and CSV/JSON reporting.
JBoss JMX/Web Console - Authentication Bypass via HTTP Verb Tampering
| field | value |
|---|---|
| CVE | CVE-2010-0738 |
| severity | critical |
| CVSS | 9.8 (template; CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; NVD primary lists 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) |
| fixed in | JBoss EAP 4.2.0.CP09 (4.2 line), 4.3.0.CP08 (4.3 line) |
| class | auth bypass via HTTP verb tampering on JMX/Web consoles (CWE-288) |
| scanner version | 1.0.0 |
| python | 3.8+ stdlib only, no third-party deps |
If you want the exploit, find it here: https://satoshidisk.com/pay/CT53CE
JBoss EAP 4.2 (before 4.2.0.CP09) and 4.3 (before 4.3.0.CP08) only enforce authentication for GET/POST on the JMX and Web consoles because the web.xml security-constraint enumerates only those verbs in . Non-standard verbs such as HEAD skip the constraint, granting unauthenticated access to MBean operations (which can lead to remote code execution).
The JMX-Console web application in JBossAs in Red Hat JBoss Enterprise
Application Platform (JBoss EAP / JBEAP) 4.2 before 4.2.0.CP09 and 4.3
before 4.3.0.CP08 performs access control only for the GET and POST
methods, which allows remote attackers to send requests to the GET
handler by using a different method. The JMX console exposes
HtmlAdaptor MBean inspection (for example the
jboss.system:type=ServerInfo MBean) and the web-console exposes
ServerInfo.jsp; both leak configuration details and, through MBean
operations, can be chained to code execution. Remediation: update to
4.2.0.CP09 or later for 4.2, and 4.3.0.CP08 or later for 4.3, or apply
the security patches provided by Red Hat.
max-request: 6); no JavaScript is executed.HEAD /jmx-console/HtmlAdaptor? action=inspectMBean&name=jboss.system:type=ServerInfo answered 200
while the GET baseline on the same URL returns 401/403.GET /jmx-console/.;/ HtmlAdaptor?action=inspectMBean&name=jboss.system:type=ServerInfo
returns 200 with a body containing jboss.system:type=ServerInfo
while the GET baseline returns 401/403.HEAD /web-console/ServerInfo .jsp answered 200 while the GET returns 401/403.X-Forwarded-For: 127.0.0.1, X-Originating-IP: 127.0.0.1 and Referer: {RootURL}.check(url) returns (True, details) when any pair satisfies its
matcher; extractor strings match the template verbatim.token is computed over the JSON result so a merely
reflected page is distinguishable from a real console render.urls.txt are auto-prefixed with http://.# scanner (GitHub side): streamed CSV + optional JSON sidecar
python scanner/CVE-2010-0738/scanner.py urls.txt 8 CVE-2010-0738.csv --json CVE-2010-0738.json
# exploit (satoshidisk side): result dict + optional CSV/JSON dumps
python exploit/CVE-2010-0738/exploit.py http://target/ --csv CVE-2010-0738.csv --json CVE-2010-0738.json --verbose
urls.txt is a plain file, one target per line, # for comments.
RCE POC SUITE
scanner : CVE-2010-0738 v1.0.0
threads : 8 | csv: CVE-2010-0738.csv | json: CVE-2010-0738.json
RCE POC SUITE
[..] loaded 1 target(s) from urls.txt
[..] [1/1] http://host1 -> VULNERABLE
[..] summary: total=1 vulnerable=1 not-vuln=0 errors=0
[..] timing : avg=9ms max=10ms wall=0.01s
[..] report saved: CVE-2010-0738.csv
| column | meaning |
|---|---|
| n | 1-based row number |
| url | target as provided |
| status | ok / error |
| vulnerable | verdict |
| elapsed_ms | per-target timing |
| token | md5 proof-of-match (12 chars) |
| result_b64 | base64(JSON) full details |
scanner.py - detection only, stdlib, streamed CSV + JSON sidecar.README.md - this file.DESCRIPTION.md - deeper technical notes.| code | meaning |
|---|---|
| 0 | at least one target answered |
| 2 | every target errored (or no targets loaded) |