CVE-2008-6603: Moin Remote Code Execution Vulnerability
HIGHCVE-2008-6603 is a HIGH (CVSS 7.5) remote code execution vulnerability (CWE-284: Improper Access Control) affecting Moin libraries in the PyPI ecosystem. The issue involves moinmoin access restrictions bypassed due to improper acl enforcement. Remediation is available by upgrading affected packages to version 1.6.3, 1.7.1.
CVE-2008-6603 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2008-6603
To remediate this vulnerability, upgrade all affected Moin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install moin>=1.6.3
pip install moin>=1.7.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show moin
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2008-6603, inspect your installed packages using pip:
pip show moin
Analyze the terminal output to locate any version of Moin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.3), your application is affected.
Note: The pip show moin command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Moin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2008-6603 Affected Moin Versions
2 component(s)References
Frequently Asked Questions
What is CVE-2008-6603?
Which Moin versions are affected?
What version fixes CVE-2008-6603?
Is moin affected?
What is the CVSS score of CVE-2008-6603?
What CWE is associated with CVE-2008-6603?
How can I check PyPI dependencies for CVE-2008-6603?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wc8w-gh5m-62fv",
"modified" : "2024-11-26T18:22:36Z",
"published" : "2022-05-17T02:10:54Z",
"aliases" : [ "CVE-2008-6603" ],
"summary" : "MoinMoin Access Restrictions Bypassed due to improper ACL enforcement",
"details" : "MoinMoin 1.6.2 and 1.7 does not properly enforce ACL checks when acl_hierarchic is set to True, which might allow remote attackers to bypass intended access restrictions, a different vulnerability than CVE-2008-1937.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "moin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "moin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.7"
}, {
"fixed" : "1.7.1"
} ]
} ],
"versions" : [ "1.7" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-6603"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/41911"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/moinwiki/moin"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/moin/PYSEC-2009-13.yaml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20080511110948/http://hg.moinmo.in/moin/1.6/rev/543ae9bdbe26"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20090730023652/http://moinmo.in/MoinMoinBugs/AclHierarchicPageAclSupercededByAclRightsAfter"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200301063229/http://www.securityfocus.com/bid/34655"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20211207023130/http://hg.moinmo.in/moin/1.7/rev/88356b3f849a"
}, {
"type" : "WEB",
"url" : "http://hg.moinmo.in/moin/1.6/rev/543ae9bdbe26"
}, {
"type" : "WEB",
"url" : "http://hg.moinmo.in/moin/1.7/rev/88356b3f849a"
}, {
"type" : "WEB",
"url" : "http://moinmo.in/MoinMoinBugs/AclHierarchicPageAclSupercededByAclRightsAfter"
}, {
"type" : "WEB",
"url" : "http://moinmo.in/SecurityFixes"
}, {
"type" : "WEB",
"url" : "http://osvdb.org/48875"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/34655"
}, {
"type" : "WEB",
"url" : "http://www.vupen.com/english/advisories/2008/1307"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-09T18:43:26Z",
"nvd_published_at" : "2009-04-03T18:30:00Z"
}
}