Remote code execution in SoX



| Updated: 2023-03-22
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2004-0557
CWE-ID CWE-119
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
SoX
Client/Desktop applications / Multimedia software

Vendor sox.sourceforge.net

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU73933

Risk: High

CVSSv4.0: 7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]

CVE-ID: CVE-2004-0557

CWE-ID: CWE-119 - Memory corruption

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing files within the st_wavstartread() function in wav.c. A remote attacker can create a specially crafted media file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

SoX: 12.17 - 12.17.4

CPE2.3 External links

https://archives.neohapsis.com/archives/vulnwatch/2004-q3/0014.html
https://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000855
https://lwn.net/Articles/95529/
https://lwn.net/Articles/95530/
https://seclists.org/fulldisclosure/2004/Jul/1227.html
https://www.debian.org/security/2004/dsa-565
https://www.gentoo.org/security/en/glsa/glsa-200407-23.xml
https://www.mandriva.com/security/advisories?name=MDKSA-2004:076
https://www.redhat.com/support/errata/RHSA-2004-409.html
https://www.securityfocus.com/bid/10819
https://bugzilla.fedora.us/show_bug.cgi?id=1945
https://exchange.xforce.ibmcloud.com/vulnerabilities/16827
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9801


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###