CVE-2008-0782 MoinMoin Directory traversal vulnerability
Remote attackers can overwrite arbitrary files and execute code via directory traversal in the MOIN_ID cookie, affecting MoinMoin wiki users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2008-0782?
CVE-2008-0782 is a medium-severity path traversal vulnerability in n/a, published on 14 Feb 2008. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Directory traversal vulnerability in MoinMoin 1.5.8 and earlier allows remote attackers to overwrite arbitrary files via a .. (dot dot) in the MOIN_ID user ID in a cookie for a userform action. NOTE: this issue can be leveraged for PHP code execution via the quicklinks parameter.
Weakness: CWE-22
Which versions are affected by CVE-2008-0782?
3 open source packages ship an affected version, including moin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
moin PyPI | All versions to 1.5.8 | None |
moin PyPI | All versions to 1.5.8 | None |
moin PyPI | All versions to 1.5.8 | None |
Products include Moinmoin Moinmoin.
How do I fix CVE-2008-0782?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2008-0782 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-0782 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-6766-r2rx-mfw9, PYSEC-2026-668.