Critical Severity
Published: Nov 2, 2026

[GitHub] cve-scanner

Rce
Type
N/A
CVSS Score
2
Views
Anonymous
Author

Description

RCE CVE (≥9.0) scanner

# cve-scanner

Fingerprint-driven blind testing CVE scanner: first identifies Web/service fingerprints, matching components only run their mapped CVE/vulnerability exp, and falls back to full blind testing when application fingerprints are not recognized. Automatically detects targets and verifies actual command execution (RCE).
**All ranges use real Docker images, no mock.**

---

## Fingerprint-driven workflow

```
target ──► fingerprint.Detect()
│
├─ Matched application fingerprint (WebLogic/Tomcat/Struts2/Spring/Shiro/ActiveMQ/...)
│ └─► Only execute CVE exp mapped to this component (+ generic leak detection)
│
├─ Only matched weak Web service fingerprint (nginx/Apache/PHP/Node.js)
│ └─► Treated as unrecognized, execute full exp blind testing
│
└─ No fingerprint matched
└─► Full exp blind testing
```

### Secondary fingerprint expansion during collection

All exp requests pass through the same collector (`internal/capture`):

1. First round `fingerprint.Detect()` (`bb` as `QuickDetect`) obtains baseline fingerprint;
2. Each exp/probe response undergoes fingerprint re-matching (`fingerprint.ObserveResponse`);
3. New components appearing outside baseline (e.g., not recognized on first access, but subsequent exp responses expose WebLogic/Struts2/Shiro/Tomcat, etc.) are immediately merged into fingerprints and continue executing mapped exp; executed probes are deduplicated by `ran` set;
4. Both `bb` and `scan` follow this workflow; `scan`'s collection results are also the payload source for smuggling replay.

### Smuggling replay after zero success (second pass)

When `bb` normal scanning completes with **0 findings** and `scan` has globally **0 PASS (no actual command echo)**, automatically enter second pass:

1. Collector has recorded each actual exp request sent this round (method/path/headers/body) and direct connection response;
2. For each target, first use limited TE obfuscation combinations to confirm CL.TE/TE.CL channel;
3. Replay all collected payloads once through the channel (deduplicate by request, no longer limit payload count);
4. Smuggling response shows RCE features not in direct connection response → `CRITICAL`; only confirm channel and successful delivery → `HIGH`;
5. Smuggling response also undergoes fingerprint identification: if new components are exposed, additionally run their mapped exp.

Support http/https; if no payloads available for replay (e.g., only ran GET probes), automatically skip. `scan` mode has integrated the same collector, smuggling replay results written to result file as `CVE=SMUGGLING-REPLAY`.

Built-in fingerprint library references webanalyze/Wappalyzer matching methods (response headers, Server, Set-Cookie, title, body features + WebLogic Console/Tomcat Manager/Actuator/Nacos/Metabase/GeoServer/OFBiz/Solr deep detection), pure standard library implementation, no third-party dependencies. Component → CVE mapping see [internal/fingerprint/cve_map.go](internal/fingerprint/cve_map.go).

View fingerprint separately:

```bash
./cve-scanner fp -t http://127.0.0.1:7001
./cve-scanner fp -t http://127.0.0.1:8161 -json
```

---

## Supported vulnerabilities

| CVE | Component | Protocol | CVSS | Affected versions | Port | id | whoami | hostname | pwd |
|-----|-----------|----------|------|-------------------|------|-----|--------|----------|-----|
| [CVE-2026-70748](docs/CVE-2026-70748.md) | Oracle WebLogic Server | T3/IIOP | 9.8 | 12.2.1.4, 14.1.1.0 | 7

Translated to English from Chinese. Show original · see the source links.
Community Rating
0

Login to rate this exploit

Quick Actions