Lucene search

K
talosblog[email protected] (Alexander Chiu)TALOSBLOG:4F92D3C486338065D12BD3E18C270668
HistoryOct 10, 2017 - 7:56 a.m.

Vulnerability Spotlight: Arbitrary Code Execution Bugs in Simple DirectMedia Layer Fixed

2017-10-1007:56:00
[email protected] (Alexander Chiu)
feedproxy.google.com
64

0.006 Low

EPSS

Percentile

76.0%

Today, Talos is disclosing two vulnerabilities that have been identified in the Simple DirectMedia Layer library. Simple DirectMedia Layer (SDL) is a cross-platform development library designed for use in video playback software, emulators, and games by providing low level access to audio, keyboard, mouse, joystick, and graphics hardware. SDL, via its SDL_image library, also has the capability to handle various image formats such as XCF, the default layered image format for GIMP. <br /><br />An attacker could compromise a user by exploiting one of these vulnerabilities via a specifically crafted file that SDL would handle, such as a XCF file.<br /><br />Given that numerous applications make use of SDL, Talos has coordinated with the SDL community to disclose these vulnerabilities and ensure that an updated version of the library is available to use.<br /><a></a><br /><h2>Vulnerability Details</h2>Both vulnerabilities highlighted in this post were identified by <a href=“http://blogs.cisco.com/author/YvesYounan”>Yves Younan</a>.<br /><h3>CVE-2017-2887/TALOS-2017-0394 - Simple DirectMedia Layer SDL_image XCF Property Handling Code Execution Vulnerability</h3><br />A buffer overflow <a href=“https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0394”>vulnerability</a> has been identified which could lead to arbitrary code execution on an affected host. This vulnerability manifests due to insufficient validation of data read from a file and subsequent use of the data. In this case, the id and length attributes read from an XCF image file are used without validation, potentially resulting in a stack-based buffer overflow.<br /><br /><h3>CVE-2017-2888/TALOS-2017-0395 - Simple DirectMedia Layer Create RGB Surface Code Execution Vulnerability</h3><br />An integer overflow <a href=“https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0395”>vulnerability</a> has been identified which could lead to arbitrary code execution on an affected host. This vulnerability manifests when creating a new RGB surface via a call to the CreateRGBSurface function. A sufficiently large width and height value passed to this function could cause a multiplication operation to overflow, thus resulting in too little memory being allocated. Subsequent writes would then be out-of-bounds.<br /><br />For the full technical details of these vulnerabilities, please visit the Vulnerability Reports <a href=“https://www.talosintelligence.com/vulnerability_info”>portal</a> on our website.<br /><br /><h2>Coverage</h2>Talos has released the following Snort rules to address this vulnerability. Please note that additional rules may be released at a future date and current rules are subject to change pending additional information. Firepower customers should use the latest update to their ruleset by updating their SRU. Open Source Snort Subscriber Rule Set customers can stay up to date by downloading the latest rule pack available for purchase on Snort.org.<br /><br />Snort Rules: 43855-43856, 43858, 43860<div>
<a href=“http://feeds.feedburner.com/~ff/feedburner/Talos?a=QgReFDPD7iU:p-SgMVIaoZc:yIl2AUoC8zA”><img src=“http://feeds.feedburner.com/~ff/feedburner/Talos?d=yIl2AUoC8zA”></img></a>
</div><img src=“http://feeds.feedburner.com/~r/feedburner/Talos/~4/QgReFDPD7iU” height=“1” width=“1” alt />

0.006 Low

EPSS

Percentile

76.0%