CVE-2008-6731: Unrestricted File Upload in FlexPHPLink Pro 0.0.7
- Vendor
- China-On-Site
FlexPHPLink Pro 0.0.7's submitlink.php script does not properly restrict the types of files that can be uploaded, allowing remote attackers to upload files with executable extensions (such as .php). The attacker can then execute arbitrary PHP code by accessing the uploaded file directly in the linkphoto/ directory.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary PHP code on the server, leading to full compromise of the application and potentially the underlying system.
Mitigation
If you can’t patch tonight, do this now.
As an immediate mitigation, restrict file uploads to only allow safe file types (e.g., images), validate file extensions and MIME types on the server side, and configure the web server to prevent execution of uploaded files in the linkphoto/ directory.
Remediation
Patch, then assume compromise.
Upgrade to a version of FlexPHPLink Pro that properly restricts file uploads to non-executable types and implements server-side validation of file extensions and MIME types. Additionally, ensure that uploaded files are not accessible from the web root or are renamed to non-executable extensions.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2008-6731 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-6731 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-6731?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2008-6731.
- Is there a patch for CVE-2008-6731?
- Upgrade to a version of FlexPHPLink Pro that properly restricts file uploads to non-executable types and implements server-side validation of file extensions and MIME types. Additionally, ensure that uploaded files are not accessible from the web root or are renamed to non-executable extensions.
- What products are affected by CVE-2008-6731?
- China-On-Site Flexphplink.
- How severe is CVE-2008-6731?
- CVE-2008-6731 has a CVSS v2 score of 9.3 (Critical) and an EPSS score of 5.7% (93rd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.