Remote code execution in SoX



Published: 2004-08-06 | 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
Subscribe
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

CVSSv3.1: 7.9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

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

External links

http://archives.neohapsis.com/archives/vulnwatch/2004-q3/0014.html
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000855
http://lwn.net/Articles/95529/
http://lwn.net/Articles/95530/
http://seclists.org/fulldisclosure/2004/Jul/1227.html
http://www.debian.org/security/2004/dsa-565
http://www.gentoo.org/security/en/glsa/glsa-200407-23.xml
http://www.mandriva.com/security/advisories?name=MDKSA-2004:076
http://www.redhat.com/support/errata/RHSA-2004-409.html
http://www.securityfocus.com/bid/10819
http://bugzilla.fedora.us/show_bug.cgi?id=1945
http://exchange.xforce.ibmcloud.com/vulnerabilities/16827
http://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###