Skip to main content
← All vulnerabilities
CVE-2010-20125EUVD-2010-5325GHSA-367V-2M6P-G2X5

DedeCMS < 5.7 File Inclusion via plus/carbuyaction.php

DedeCMS versions before 5.7 are affected through plus/carbuyaction.php when the dopost parameter is set to return. The issue is fixed in 5.7.

Published
Last modified
published
Not listed in CISA KEV
Unclear
Fix
Fixed in 5.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

DedeCMS, a content management system used to build websites, is affected. A remote attacker without a login could use the vulnerable payment-related script to read arbitrary files on the server, potentially exposing sensitive data.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • DedeCMS DedeCMS

    fixed in 5.7

References 6

cnblogs.com

web.archive.org

GitHub · projectdiscovery/nuclei-templates

GitHub · dedecms/DedeCMS

vulncheck.com

FAQ

Questions about CVE-2010-20125

What does this mean?

The plus/carbuyaction.php page can be made to include a local file through the code parameter using path traversal. Where an uploaded file contains PHP code, that code can be executed.Source: cnblogs.com, web.archive.org

Am I affected, and how do I check?

DedeCMS versions before 5.7 are in the affected range. The vulnerable branch runs only when the request sets dopost to return, so check your installed DedeCMS version and whether that page is reachable.Source: cnblogs.com, web.archive.org

What should I do about it?

Upgrade DedeCMS to 5.7 or later, which is the first fixed version.Source: cnblogs.com, web.archive.org

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.Source: cve.now feed data