← Vulnerability feed

Vulnerability record · CVE-2018-7700 · published 27 March 2018

CVE-2018-7700: DedeCMS tag_test_action.php CSRF leads to arbitrary PHP code execution

Dedecms · Dedecms

DedeCMS 5.7 allows a cross-site request forgery in tag_test_action.php where the partcode parameter can specify a runphp field containing PHP code. Because the injected PHP is executed, a forged request can turn a victim's session into remote code execution on the server. The flaw is rated CVSS 3.0 8.8 (HIGH) with a network vector and required user interaction.

8.8 CVSS 3.0 High EPSS 74% · top 0.5% CWE-352 · Cross-site request forgery
8.8CVSS 3.0 base score, v2 6.8
74%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

DedeCMS 5.7 has CSRF with an impact of arbitrary code execution, because the partcode parameter in a tag_test_action.php request can specify a runphp field in conjunction with PHP code.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

high priorityCVSS 8.8 with network reachability, no attacker authentication, and public exploit references, though exploitation requires victim interaction and no KEV listing exists.

What it is

DedeCMS 5.7 allows a cross-site request forgery in tag_test_action.php where the partcode parameter can specify a runphp field containing PHP code. Because the injected PHP is executed, a forged request can turn a victim's session into remote code execution on the server. The flaw is rated CVSS 3.0 8.8 (HIGH) with a network vector and required user interaction.

Impact

An attacker who lures an authenticated victim into a crafted request can execute arbitrary PHP code on the DedeCMS server, gaining the web server's privileges and potentially full control of the site and its data.

Attack surface

Reached over the network via a crafted request to tag_test_action.php; no prior authentication is required by the attacker, but the victim must be authenticated and must trigger the forged request (UI:R).

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.74118, 99.46th percentile) and both references are tagged Exploit, indicating public exploit material exists. No ransomware association is documented.

What to do

  • Upgrade DedeCMS to a version later than 5.7 that fixes the tag_test_action.php CSRF and runphp handling; if no fixed release is available, restrict or remove access to tag_test_action.php.
  • Add CSRF tokens to state-changing administrative requests and reject requests lacking a valid token.
  • Disable or strictly validate the runphp field and partcode parameter so user-supplied PHP is never evaluated.
  • Restrict administrative interfaces to trusted networks or VPN and require re-authentication for sensitive actions.
  • Deploy a WAF rule blocking runphp or PHP code patterns in tag_test_action.php requests as a temporary control.

Detection

  • Monitor web logs for POST or GET requests to tag_test_action.php containing partcode or runphp parameters.
  • Alert on PHP code patterns (for example eval, system, exec, base64_decode) in request parameters to DedeCMS endpoints.
  • Correlate administrative session activity with unexpected outbound connections or new files written under the web root.
  • Review DedeCMS file integrity and PHP error logs for unexpected code execution following tag_test_action.php requests.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-7700 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-30643Dedecms code injection vulnerabilityAn issue was discovered in DedeCMS 5.7.118 allowing attackers to execute code via crafted setup tag values in a module upload.EPSS 0.78%9.8CVE-2026-30694Dedecms code injection vulnerabilityAn issue in DedeCMS v.5.7.118 and before allows a remote attacker to execute arbitrary code via the array_filter componentEPSS 0.98%9.8CVE-2024-35510Dedecms unrestricted file upload vulnerabilityAn arbitrary file upload vulnerability in /dede/file_manage_control.php of DedeCMS v5.7.114 allows attackers to execute arbitrary code via uploading …EPSS 0.73%9.8CVE-2024-35375Dedecms unrestricted file upload vulnerabilityThere is an arbitrary file upload vulnerability on the media add .php page in the backend of the website in version 5.7.114 of DedeCMSEPSS 0.47%9.8CVE-2024-29661Dedecms unrestricted file upload vulnerabilityA File Upload vulnerability in DedeCMS v5.7 allows a local attacker to execute arbitrary code via a crafted payload.EPSS 0.67%9.8CVE-2024-3685Dedecms sql injection vulnerabilityA vulnerability, which was classified as critical, was found in DedeCMS 5.7.112-UTF8. Affected is an unknown function of the file stepselect_main.php…EPSS 0.59%9.8CVE-2024-29684Dedecms cross-site request forgery vulnerabilityDedeCMS v5.7 was discovered to contain a Cross-Site Request Forgery (CSRF) via the component /src/dede/makehtml_homepage.php allowing a remote attack…EPSS 0.57%9.8CVE-2023-7212Dedecms unrestricted file upload vulnerabilityA vulnerability classified as critical has been found in DeDeCMS up to 5.7.112. Affected is an unknown function of the file file_class.php of the com…EPSS 0.59%

Source: NIST National Vulnerability Database (record CVE-2018-7700), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.