CVE-2023-29950
Medium · 5.5CVSS
5.5
EPSS
0.3%
Published
Apr 27, 2023
CISA due date
—
Cloudanix analysis
A flaw in how certain Winter CMS versions handle Flash files can let an attacker crash the site by uploading a specially made 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 enumerateUsedIDs_fillstyle allows out-of-bounds memory writes when processing a crafted SWF file, resulting in process crash.
Why it matters to the business
Attackers who can supply SWF content can trigger denial of service against any Winter CMS instance that invokes the affected swfrender code, causing temporary loss of service until the process is restarted.
How an attack unfolds
An attacker crafts a malicious SWF file that triggers the overflow inside enumerateUsedIDs_fillstyle, then causes the Winter CMS application to process that file through its media or asset handling paths that call swfrender.
How to fix it
Upgrade Winter CMS to the commit fa50b4c7489b67ea80072f8ac9fe5294fce1df1c or later; rebuild any local swftools/swfrender binaries from the patched source.
How to confirm the fix worked
Confirm the running swfrender binary or Winter CMS source tree contains commit fa50b4c7489b67ea80072f8ac9fe5294fce1df1c; re-test media upload/render paths with known-good SWF files.
Typical attack path
- Identify Winter CMS instance that processes user-supplied or externally fetched SWF files
- Craft SWF file that overflows the heap buffer in enumerateUsedIDs_fillstyle
- Upload or cause the CMS to fetch and render the malicious SWF
- Observe process crash and service interruption
How to detect it
Review web-server and application logs for repeated SWF uploads or render requests that coincide with worker process restarts or segmentation faults; correlate with file-upload endpoints that accept .swf extensions.
What your security team should do
- Immediately update Winter CMS to the patched commit if any SWF processing is enabled
- Disable or sandbox SWF rendering until the update is applied
- Monitor for availability alerts on CMS worker processes
The record
swfrender v0.9.2 was discovered to contain a heap buffer overflow in the function enumerateUsedIDs_fillstyle at modules/swftools.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