CVE-2007-5147
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMultiple PHP remote file inclusion vulnerabilities in Puzzle Apps CMS 2.2.1 allow remote attackers to execute arbitrary PHP code via a URL in the MODULEDIR parameter to (1) core/modules/my/my.module.php or (2) core/modules/xml/xml.module.php; the COREROOT parameter to (3) config.loader.php, (4) platform.loader.php, (5) core.loader.php, (6) person.loader.php, or (7) module.loader.php in core/ or (8) install/steps/step_3.php; or the THISDIR parameter to (9) people.lib.php, (10) general.lib.php, (11) content.lib.php, or (12) templates.lib.php in core/modules/admin/libs/ or (13) core/modules/webstat/MEC/index.php.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceRemote File Inclusion (RFI) vulnerability in Puzzle Apps CMS 2.2.1 allows remote attackers to execute arbitrary PHP code by injecting a malicious URL through multiple parameters (MODULEDIR, COREROOT, THISDIR) across 13 different PHP files. Attackers can include remote PHP files that get executed on the server, leading to full system compromise.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 2.2.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- M
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:M/Au:N/C:P/I:P/A:P
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if Puzzle Apps CMS is installedSearch the web server document root for Puzzle Apps CMS files, typically in directories named 'puzzle', 'cms', or look for files containing 'Puzzle Apps CMS' branding or copyright text.Affected if Puzzle Apps CMS is found on the server
-
Confirm the installed version is 2.2.1Check version.php, index.php, or any version/configuration file within the Puzzle Apps CMS directory for the version string '2.2.1'.Affected if The installed version is exactly 2.2.1
-
Locate the vulnerable PHP filesSearch the CMS directory for the 13 affected PHP files that contain the MODULEDIR, COREROOT, or THISDIR parameters in include() or require() statements. Common paths include modules/, includes/, or core/ subdirectories.Affected if The vulnerable PHP files exist and are web-accessible
-
Verify the RFI parameters are exposedExamine the identified PHP files to confirm they accept the MODULEDIR, COREROOT, or THISDIR parameters through GET or REQUEST superglobals and use them in dynamic include/require statements without validation.Affected if The parameters are used in dynamic include/require calls without sanitization
-
Check if the web server can reach external URLsReview the PHP configuration (php.ini) for allow_url_fopen and allow_url_include settings, and verify network connectivity from the web server to potential attacker-controlled domains.Affected if allow_url_fopen or allow_url_include is enabled (allowing remote file inclusion)
You are affected if Puzzle Apps CMS version 2.2.1 is installed and the vulnerable PHP files with unprotected MODULEDIR, COREROOT, or THISDIR parameters are accessible on the web server with remote includes enabled.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataFix requires input validation to ensure included files come from trusted local paths only, replacing dynamic path variables with hardcoded paths, and/or removing the vulnerable parameter usage entirely in all affected include() and require() calls.
- Consultation3.0 h
- Implementation12.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,720.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2007-5147 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2007-5147 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data