CVE-2007-4174 in Tor
Tor before 0.1.2.16, when ControlPort is enabled, does not properly restrict commands to localhost port 9051, which allows remote attackers to modify the torrc configuration file, compromise anonymity, and have other unspecified impact via HTTP POST data containing commands without valid authentication, as demonstra...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Tor | Tor | ≤ 0.1.2.15 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Tor before 0.1.2.16, when ControlPort is enabled, does not properly restrict commands to localhost port 9051, which allows remote attackers to modify the torrc configuration file, compromise anonymity, and have other unspecified impact via HTTP POST data containing commands without valid authentication, as demonstrated by an HTML form (1) hosted on a web site or (2) injected by a Tor exit node.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-4174 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-018755-M |
| CVSS vector | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| Published | 2007-08-07 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2007. A medium severity vulnerability affects Tor systems (CVE-2007-4174). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: Tor before 0.1.2.16, when ControlPort is enabled, does not properly restrict commands to localhost port 9051, which allows remote attackers to modify the torrc configuration file, compromise anonymity, and have other unspecified impact via HTTP POST data containing commands without valid authentication, as demonstrated by an HTML form (1) hosted on a web site or (2) injected by a Tor exit node. CVSS vector: AV:N/AC:M/Au:N/C:P/I:P/A:N.
Questions
What is CVE-2007-4174?
This vulnerability was disclosed in 2007. A medium severity vulnerability affects Tor systems (CVE-2007-4174). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2007-4174?
CVE-2007-4174 has CVSS 5.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N. EPSS: 6.2%.
Is CVE-2007-4174 actively exploited?
Public exploit available for CVE-2007-4174. Exploitation risk elevated.
How do I remediate CVE-2007-4174?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2007-4174?
CVE-2007-4174 affects Tor Tor.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Tor","product":"Tor","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.