CVE-2018-6156
High · 8.8CVSS
8.8
EPSS
0.9%
Published
Jun 27, 2019
CISA due date
—
Cloudanix analysis
A bug in video handling could let attackers remotely take control of or crash systems running older versions of Tor.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Incorrect packet length derivation in WebRTC causes heap corruption when processing crafted video content, enabling memory safety violations.
Why it matters to the business
Remote attackers can achieve code execution or denial of service against systems using affected Tor packages, risking data exposure, service outages, and potential compromise of anonymity-focused deployments.
How an attack unfolds
An attacker crafts a malicious video file that triggers incorrect length calculations inside WebRTC; when the victim processes the file through an affected Tor package, heap memory is corrupted, allowing potential arbitrary code execution.
How to fix it
Upgrade tor packages to the listed fixed versions: Debian 11/12/13 to 0.3.1.9-1; Ubuntu 16.04 LTS to 0.2.9.14-1ubuntu1~16.04.2; Ubuntu 18.04 LTS to 0.3.1.9-1. Remove or isolate unpatched instances until updated.
How to confirm the fix worked
Query package manager for installed tor version and compare against fixed releases; test WebRTC video handling in a controlled environment to confirm absence of the length derivation flaw.
Typical attack path
- Craft malicious video file exploiting packet length miscalculation
- Deliver file to target via web, email, or file share
- Victim opens or renders the file in affected application
- WebRTC processes malformed packet data leading to heap corruption
- Attacker leverages corruption for code execution or crash
How to detect it
Review application logs and crash reports for WebRTC-related heap errors or unexpected terminations during video processing; correlate with file access timestamps of suspicious video content.
What your security team should do
- Apply the exact fixed tor package versions immediately due to memory corruption severity
- Prioritize patching systems handling video or real-time media
- Monitor for new EPSS increases or exploit code publication
- Harden WebRTC usage policies until upgrades complete
The record
Incorect derivation of a packet length in WebRTC in Google Chrome prior to 68.0.3440.75 allowed a remote attacker to potentially exploit heap corruption via a crafted video file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:9 | chromium-browser | 0 | 68.0.3440.75-1~deb9u1 |
| Mageia:6 | chromium-browser-stable | 0 | 68.0.3440.106-1.mga6 |
| Red Hat:rhel_extras:6 | chromium-browser | 0 | 0:68.0.3440.75-1.el6_10 |
| Red Hat:rhel_extras:6 | chromium-browser-debuginfo | 0 | 0:68.0.3440.75-1.el6_10 |
| Ubuntu:16.04:LTS | chromium-browser | 0 | 68.0.3440.75-0ubuntu0.16.04.1 |
| Ubuntu:16.04:LTS | firefox | 0 | 70.0+build2-0ubuntu0.16.04.1 |
| Ubuntu:16.04:LTS | oxide-qt | 0 | No fix |
| Ubuntu:18.04:LTS | chromium-browser | 0 | 68.0.3440.75-0ubuntu0.18.04.1 |
| Ubuntu:18.04:LTS | firefox | 0 | 70.0+build2-0ubuntu0.18.04.1 |
| Ubuntu:Pro:16.04:LTS | oxide-qt | 0 | No fix |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 92.0-1.2 |
| openSUSE:Tumbleweed | chromium | 0 | 113.0.5672.92-1.1 |
| openSUSE:Tumbleweed | chromium | 0 | 93.0.4577.82-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2018-6126 A precision error in Skia in Google Chrome prior to 67.0.3396.62 allowed a remote… Also affects chromium-browser
- CVE-2017-15428 Insufficient data validation in V8 builtins string generator could lead to out of bounds… Also affects chromium-browser
- CVE-2018-18356 An integer overflow in path handling lead to a use after free in Skia in Google Chrome… Also affects chromium-browser
- CVE-2018-17480 Execution of user supplied Javascript during array deserialization leading to an out of… Also affects chromium-browser
- CVE-2018-6065 Integer overflow in computing the required allocation size when instantiating a new… Also affects chromium-browser
- CVE-2018-17463 Incorrect side effect annotation in V8 in Google Chrome prior to 70.0.3538.64 allowed a… Also affects chromium-browser
- CVE-2017-5115 Type confusion in V8 in Google Chrome prior to 61.0.3163.79 for Windows allowed a remote… Also affects chromium-browser
- CVE-2017-5116 Type confusion in V8 in Google Chrome prior to 61.0.3163.79 for Mac, Windows, and Linux… Also affects chromium-browser