CVE-2010-20125

DedeCMS < 5.7 File Inclusion via plus/carbuyaction.php

Published Oct 30, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
DedeCMS before 5.7 contains a file inclusion vulnerability in plus/carbuyaction.php that allows remote unauthenticated attackers to control the include path by manipulating the uninitialized code parameter passed to require_once. Attackers can supply path traversal sequences ../../ to include arbitrary local files outside the intended payment directory, potentially achieving local file disclosure. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.

Analysis

AI-generated

Technical impact

The vulnerability is caused by an uninitialized ‘code’ parameter that is directly supplied to a require_once call in plus/carbuyaction.php. An attacker can craft path traversal sequences such as ../../ to include arbitrary files outside the payment directory, allowing the web process to read any server file it has permission to access. This results in local file disclosure and can reveal configuration files, credentials, or source code to a remote unauthenticated attacker.

Affected Systems

The flaw exists in DedeCMS versions prior to 5.7. The affected component is the plus/carbuyaction.php script in the e‑commerce module. Any installation running version 5.6 or earlier is vulnerable.

Risk and Exploitability

The CVSS score of 8.7 classifies the flaw as High severity. Shadowserver reported exploitation evidence in October 2023, indicating that attackers can trigger it over standard HTTP requests without authentication. Although the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, the combination of a high CVSS score and demonstrated exploitation suggests a non‑negligible risk of compromise. An attacker can supply crafted ‘code’ values to read arbitrary local files, potentially exposing sensitive data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the DedeCMS installation to version 5.7 or later, which removes the insecure include logic.
  • If an upgrade cannot be performed immediately, restrict or remove external access to plus/carbuyaction.php from the web root.
  • Apply an input filter to the ‘code’ parameter that allows only whitelisted filenames and blocks directory traversal characters.

Generated by OpenCVE AI on October 30, 2026 at 15:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:dedecms:dedecms:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Dedecms
Dedecms dedecms
Vendors & Products Dedecms
Dedecms dedecms
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description DedeCMS before 5.7 contains a file inclusion vulnerability in plus/carbuyaction.php that allows remote unauthenticated attackers to control the include path by manipulating the uninitialized code parameter passed to require_once. Attackers can supply path traversal sequences ../../ to include arbitrary local files outside the intended payment directory, potentially achieving local file disclosure. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.
Title DedeCMS < 5.7 File Inclusion via plus/carbuyaction.php
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 1:59 PM
Reserved
Oct 29, 2026, 9:11 PM
Status
Deferred
Published
Oct 30, 2026, 3:16 PM
Modified
Oct 30, 2026, 7:23 PM