CVE-2023-27249
Medium · 5.5CVSS
5.5
EPSS
0.4%
Published
Mar 23, 2023
CISA due date
—
Cloudanix analysis
A flaw in software that handles certain media files can let attackers crash programs on your computer by tricking it into opening a bad file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow in swf_GetPlaceObject allows out-of-bounds memory writes when processing a malicious SWF file, leading to process crash or memory corruption.
Why it matters to the business
Attackers can crash media-processing applications on affected systems, causing denial of service and potential operational disruption until systems are updated.
How an attack unfolds
An attacker crafts a malicious SWF file that triggers the overflow during parsing in swf_GetPlaceObject; the file is opened locally via swfdump or an affected web rendering component, resulting in memory corruption that can be leveraged for denial of service.
How to fix it
Upgrade webkit2gtk to 2.40.1-1~deb11u1 or later on Debian 11, 2.40.1-1 on Debian 12/13; upgrade wpewebkit to 2.38.6-1 on Debian 12/13. Apply patches immediately given public exploit availability.
How to confirm the fix worked
Verify installed package versions match or exceed the listed fixed releases; test with known-good and known-bad SWF samples to confirm the overflow no longer occurs.
Typical attack path
- Craft malicious SWF file to overflow the heap buffer
- Deliver file to target via email, web download, or local access
- Victim opens the file with swfdump or affected webkit component
- Overflow occurs during swf_GetPlaceObject processing
- Application crashes or memory state is corrupted
How to detect it
Review application crash logs and core dumps for signs of heap corruption during SWF processing; inspect file-handling processes for unexpected termination after opening SWF content.
What your security team should do
- Prioritize patching of all listed Debian packages within the next 30 days
- Disable or sandbox local SWF processing tools until updates are applied
- Monitor for new exploit code and update detection rules accordingly
The record
swfdump v0.9.2 was discovered to contain a heap buffer overflow in the function swf_GetPlaceObject at swfobject.c.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | swftools | 0 | No fix |
| Ubuntu:18.04:LTS | swftools | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | swftools | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | swftools | 0 | No fix |
Related vulnerabilities
- CVE-2024-28458 Null Pointer Dereference vulnerability in swfdump in swftools 0.9.2 allows attackers to… Also affects swftools
- CVE-2024-26334 swftools v0.9.2 was discovered to contain a segmentation violation via the function… Also affects swftools
- CVE-2024-26337 swftools v0.9.2 was discovered to contain a segmentation violation via the function… Also affects swftools
- CVE-2024-26335 swftools v0.9.2 was discovered to contain a segmentation violation via the function… Also affects swftools
- CVE-2024-26339 swftools v0.9.2 was discovered to contain a strcpy parameter overlap via… Also affects swftools
- CVE-2024-26333 swftools v0.9.2 was discovered to contain a segmentation violation via the function… Also affects swftools
- CVE-2024-25165 A global-buffer-overflow vulnerability was found in SWFTools v0.9.2, in the function… Also affects swftools
- CVE-2024-22956 swftools 0.9.2 was discovered to contain a heap-use-after-free vulnerability via the… Also affects swftools