{"answers":{"affected":"3 open source packages ship an affected version, including moin. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-0782 exists.","fix":"Upgrade to a fixed version.","what":"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."},"fix_prompt":"Check this codebase for CVE-2008-0782 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-0782 exists.\n\nAffected packages and fixed versions:\n- moin (PyPI): affected all versions up to 1.5.8; no fix listed\n- moin (PyPI): affected all versions up to 1.5.8; no fix listed\n- moin (PyPI): affected all versions up to 1.5.8; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2008-0782/ (Markdown: https://insights.sbomify.com/CVE-2008-0782/index.md)","id":"CVE-2008-0782","markdown":"https://insights.sbomify.com/CVE-2008-0782/index.md","name":"CVE-2008-0782","record":{"aliases":["GHSA-6766-r2rx-mfw9","PYSEC-2026-668"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"MoinMoin wiki","requires_auth":"low_privilege","summary":"Remote attackers can overwrite arbitrary files and execute code via directory traversal in the MOIN_ID cookie, affecting MoinMoin wiki users.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"moinmoin","vendor":"moinmoin"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":1,"first_seen":"2008-01-21","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2008-01-21","kind":"exploitdb","ref":"4957","stars":null,"title":"MoinMoin 1.5.x - 'MOIND_ID' Cookie Login Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"MoinMoin Directory traversal vulnerability","id":"CVE-2008-0782","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2008"},"n_packages":3,"n_references":13,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2008-0783"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.5.8"],"package":"moin","purl":null,"source":"GHSA-6766-r2rx-mfw9"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.5.8"],"package":"moin","purl":"pkg:pypi/moin","source":"GHSA-6766-r2rx-mfw9"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.5.8"],"package":"moin","purl":"pkg:pypi/moin","source":"PYSEC-2026-668"}],"prev":{"headline":"MoinMoin Multiple cross-site scripting (XSS) vulnerabilities","id":"CVE-2008-0781"},"products":["n/a"],"published":"2008-02-14","related":[{"cvss_score":10,"headline":"MoinMoin Improper Privilege Management","id":"CVE-2004-1463","kev_date_added":null,"published":"2005-02-13"},{"cvss_score":7.5,"headline":"MoinMoin Improper Access Control","id":"CVE-2004-1462","kev_date_added":null,"published":"2005-02-13"},{"cvss_score":7.5,"headline":"MoinMoin allows administrative access","id":"CVE-2004-0708","kev_date_added":null,"published":"2004-07-21"},{"cvss_score":6.8,"headline":"MoinMoin vulnerable to privilege escalation","id":"CVE-2008-1937","kev_date_added":null,"published":"2008-04-24"},{"cvss_score":5.8,"headline":"Cross-site scripting in n/a","id":"CVE-2007-2423","kev_date_added":null,"published":"2007-05-02"},{"cvss_score":5,"headline":"MoinMoin Improper Access Control","id":"CVE-2008-1099","kev_date_added":null,"published":"2008-03-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can overwrite arbitrary files and execute code via directory traversal in the MOIN_ID cookie, affecting MoinMoin wiki users.","url":"https://insights.sbomify.com/CVE-2008-0782/"}