Skip to content
KitploitKITPLOIT
ToolsBlog
Log in
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-69906-Monstra-CMS-3.0.4-Arbitrary-File-Upload-to-RCE — Technical analysis and proof-of-concept for CVE-2025-69906, an arbitrary file upload vulnerability in Monstra CMS 3.0.4 leading to remote code execution via blacklist bypass techniques. | Kitploit
Tools/GitHubGitHub/cypherdavy/cve-2025-69906-monstra-cms-3.0.4-arbitrary-file-upload-to-rce
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubcypherdavy/cve-2025-69906-monstra-cms-3.0.4-arbitrary-file-upload-to-rce

CVE-2025-69906-Monstra-CMS-3.0.4-Arbitrary-File-Upload-to-RCE

Technical analysis and proof-of-concept for CVE-2025-69906, an arbitrary file upload vulnerability in Monstra CMS 3.0.4 leading to remote code execution via blacklist bypass techniques.

View Repository
31238 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

make it a readme.md to paste into it

CVE-2025-69906: Monstra CMS 3.0.4 Arbitrary File Upload to RCE

Author: David PS Abraham
Date: February 5, 2026
Severity: Critical - Remote Code Execution (CVSS 8.8+)
CWE: 434 (Unrestricted Upload of File with Dangerous Type)

Vulnerability Description

Monstra CMS v3.0.4 Files Manager plugin (plugins/box/filesmanager/filesmanager.admin.php) implements blacklist-based file extension validation that stores uploaded files directly in the web-accessible /public/files/ directory, enabling remote code execution under standard Apache/PHP configurations.

Vulnerable Code Analysis

Core Flaw (filesmanager.admin.php ~lines 150-220):

// WEAK BLACKLIST VALIDATION
$blacklist = array('.php', '.php3', '.php4', '.php5', '.phtml', '.pl', '.py', '.jsp', '.asp', '.sh', '.cgi');

$bypass = true;
foreach ($blacklist as $bad) {
    if (strpos(strtolower($filename), $bad) !== false) {
        $bypass = false;
        break;
    }
}

if ($bypass) {
    // DIRECT WEB-ROOT WRITE - No sanitization
    $upload_path = BASE_PATH . DS . 'public' . DS . 'files' . DS;
    move_uploaded_file($file['tmp_name'], $upload_path . $filename);
    // http://target/public/files/shell.PHP executes!
}

Bypass Techniques

FlawBypass ExampleResult
Case Sensitivityshell.PHP, shell.pHp✅ Executes
Double Extensionshell.php.jpg✅ Executes
Null-byteshell.php%00.jpg✅ Executes
Non-standard PHPshell.php7, shell.phtml✅ Executes

Technical Impact

ImpactDescription
RCEArbitrary PHP execution via uploaded webshell
Privilege EscalationAdmin-authenticated → server compromise
Info DisclosureFile read via <?php echo file_get_contents('../config.php'); ?>
Attack VectorRemote, authenticated (Files Manager interface)

Affected Versions

Monstra CMS <= 3.0.4
Path: plugins/box/filesmanager/filesmanager.admin.php
Repo: https://github.com/monstra-cms/monstra/tree/dev/plugins/box/filesmanager

Timeline

2026-02-05: CVE-2025-69906 assigned by MITRE
2026-02-05: Public disclosure

References

  • CVE-2025-69906
  • Monstra CMS GitHub
  • Files Manager Source
  • Related: CVE-2018-9037 (ZIP upload RCE)

Recommendation

1. Disable Files Manager plugin
2. Whitelist ALLOWED extensions only (image/png, image/jpeg)
3. Rename uploads: uniqid() + .jpg
4. Store outside web root
5. Migrate to maintained CMS

Credits

Discovered by: David PS Abraham (Cybersecurity Researcher)


Responsible disclosure following CVE assignment. No live exploitation performed.
Project unmaintained since 2018 per repository notice.
[1]

Copy this entire content → Paste into your repo's README.md → Commit & Push → Share on social channels.

Citations: [1] 1000279995.jpg https://ppl-ai-file-upload.s3.amazonaws.com/web/direct-files/attachments/images/62532667/8d8c801d-6e5c-4292-b88f-4530423fb53a/1000279995.jpg

Download Tool