CVE-2014-8322
published 2020-01-31CVE-2014-8322: Stack-based buffer overflow in the tcp_test function in aireplay-ng.c in Aircrack-ng before 1.2 RC 1 allows remote attackers to execute arbitrary code via a…
PriorityP270critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
23.93%
97.6th percentile
Stack-based buffer overflow in the tcp_test function in aireplay-ng.c in Aircrack-ng before 1.2 RC 1 allows remote attackers to execute arbitrary code via a crafted length parameter value.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| aircrack-ng | aircrack-ng | <= 1.1 | — |
| aircrack-ng | aircrack-ng | — | — |
| aircrack-ng | aircrack-ng | >= 0 < 1:1.2-0~beta3-2 | 1:1.2-0~beta3-2 |
| aircrack-ng | aircrack-ng | >= 0 < 1:1.2-0~beta3-2 | 1:1.2-0~beta3-2 |
| aircrack-ng | aircrack-ng | >= 0 < 1:1.2-0~beta3-2 | 1:1.2-0~beta3-2 |
| aircrack-ng | aircrack-ng | >= 0 < 1:1.2-0~beta3-2 | 1:1.2-0~beta3-2 |
| debian | aircrack-ng | < aircrack-ng 1:1.2-0~beta3-2 (bookworm) | aircrack-ng 1:1.2-0~beta3-2 (bookworm) |
Detection & IOCsextracted from sources · hover to see the quote
- →The exploit sends a crafted TCP packet with a net_hdr structure (1-byte type=0x1, 4-byte big-endian length, followed by data). A length value inconsistent with actual payload size (PAD_BYTES=1304 bytes of 'A' followed by ROP chain) triggers the overflow in tcp_test(). Detect oversized or malformed nh_len values in connections to aireplay-ng --test listener ports. ↗
- →Post-exploitation payload spawns a reverse shell via netcat on port 1234. Monitor for unexpected `nc -l -p 1234 -e /bin/sh` process creation or outbound connections to port 1234 from the aireplay-ng process. ↗
- →The vulnerability is in the `tcp_test` function (aireplay-ng --test mode). Only aireplay-ng instances running in TCP test mode are exposed. Audit process command lines for `aireplay-ng --test` invocations. ↗
- ·The ROP gadget addresses (POP_RDI, POP_RBX, MOV_TO_RDI, SYSTEM, DATA=0x6265a0) are hardcoded for Aircrack-ng 1.2 beta3 on Kali Linux 1.0.9 x64 only. These addresses will differ on other builds, distributions, or with ASLR/PIE enabled. ↗
- ·The vulnerability affects Aircrack-ng versions up to and including 1.2 beta3. Versions patched at 1.2 RC1 or later (Debian: 1:1.2-0~beta3-2, Fedora: 1.2-0.3.rc1) are not vulnerable. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-3548-7j56-4648: Stack-based buffer overflow in the tcp_test function in aireplay-ng
ghsa_unreviewed·2022-05-17
CVE-2014-8322 [HIGH] GHSA-3548-7j56-4648: Stack-based buffer overflow in the tcp_test function in aireplay-ng
Stack-based buffer overflow in the tcp_test function in aireplay-ng.c in Aircrack-ng before 1.2 RC 1 allows remote attackers to execute arbitrary code via a crafted length parameter value.
OSV
CVE-2014-8322: Stack-based buffer overflow in the tcp_test function in aireplay-ng
osv·2020-01-31·CVSS 9.8
CVE-2014-8322 [CRITICAL] CVE-2014-8322: Stack-based buffer overflow in the tcp_test function in aireplay-ng
Stack-based buffer overflow in the tcp_test function in aireplay-ng.c in Aircrack-ng before 1.2 RC 1 allows remote attackers to execute arbitrary code via a crafted length parameter value.
Debian
CVE-2014-8322: aircrack-ng - Stack-based buffer overflow in the tcp_test function in aireplay-ng.c in Aircrac...
vendor_debian·2014·CVSS 9.8
CVE-2014-8322 [CRITICAL] CVE-2014-8322: aircrack-ng - Stack-based buffer overflow in the tcp_test function in aireplay-ng.c in Aircrac...
Stack-based buffer overflow in the tcp_test function in aireplay-ng.c in Aircrack-ng before 1.2 RC 1 allows remote attackers to execute arbitrary code via a crafted length parameter value.
Scope: local
bookworm: resolved (fixed in 1:1.2-0~beta3-2)
bullseye: resolved (fixed in 1:1.2-0~beta3-2)
forky: resolved (fixed in 1:1.2-0~beta3-2)
sid: resolved (fixed in 1:1.2-0~beta3-2)
trixie: resolved (fixed in 1:1.2-0~beta3-2)
No detection rules found.
Bugzilla
CVE-2014-8324 CVE-2014-8321 CVE-2014-8323 CVE-2014-8322 aircrack-ng: multiple vulnerabilities [fedora-all]
bugzilla·2014-11-03·CVSS 7.8
CVE-2014-8324 [HIGH] CVE-2014-8324 CVE-2014-8321 CVE-2014-8323 CVE-2014-8322 aircrack-ng: multiple vulnerabilities [fedora-all]
CVE-2014-8324 CVE-2014-8321 CVE-2014-8323 CVE-2014-8322 aircrack-ng: multiple vulnerabilities [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mu
Bugzilla
CVE-2014-8321 CVE-2014-8322 CVE-2014-8323 CVE-2014-8324 aircrack-ng: multiple vulnerabilities
bugzilla·2014-11-03·CVSS 7.8
CVE-2014-8321 [HIGH] CVE-2014-8321 CVE-2014-8322 CVE-2014-8323 CVE-2014-8324 aircrack-ng: multiple vulnerabilities
CVE-2014-8321 CVE-2014-8322 CVE-2014-8323 CVE-2014-8324 aircrack-ng: multiple vulnerabilities
It was reported [1] that four vulnerabilities exist on aircrack-ng <= 1.2 Beta 3 which allow remote/local code execution, privilege escalation
and denial of service. Specifically, the following vulnerabilities were identified:
- CVE-2014-8321 A stack overflow at airodump-ng gps_tracker() which may lead to code execution, privilege escalation.
https://github.com/aircrack-ng/aircrack-ng/commit/ff70494dd389ba570dbdbf36f217c28d4381c6b5
- CVE-2014-8322 A length parameter inconsistency at aireplay tcp_test() which may lead to remote code execution.
https://github.com/aircrack-ng/aircrack-ng/commit/091b153f294b9b695b0b2831e65936438b550d7b
- CVE-2014-8323 A missing check for data format at buddy-ng whic
http://aircrack-ng.blogspot.com/2014/10/aircrack-ng-12-release-candidate-1.htmlhttp://packetstormsecurity.com/files/128943/Aircrack-ng-1.2-Beta-3-DoS-Code-Execution.htmlhttp://www.exploit-db.com/exploits/35018https://exchange.xforce.ibmcloud.com/vulnerabilities/98459https://github.com/aircrack-ng/aircrack-ng/commit/091b153f294b9b695b0b2831e65936438b550d7bhttps://github.com/aircrack-ng/aircrack-ng/pull/14http://aircrack-ng.blogspot.com/2014/10/aircrack-ng-12-release-candidate-1.htmlhttp://packetstormsecurity.com/files/128943/Aircrack-ng-1.2-Beta-3-DoS-Code-Execution.htmlhttp://www.exploit-db.com/exploits/35018https://exchange.xforce.ibmcloud.com/vulnerabilities/98459https://github.com/aircrack-ng/aircrack-ng/commit/091b153f294b9b695b0b2831e65936438b550d7bhttps://github.com/aircrack-ng/aircrack-ng/pull/14
2020-01-31
Published