Nmap before 7.992 contains a hardcoded cryptographic key vulnerability in the DHCAST128 login of the NSE afp.lua library, which uses a fixed, publicly known Diffie-Hellman private exponent. A passive observer of the network traffic between Nmap and an Apple Filing Protocol server can compute the shared secret from the hardcoded exponent and the server's public value and decrypt the password supplied to scripts such as afp-showmount.nse and afp-brute.nse through the afp.username and afp.password arguments, without man-in-the-middle access or cryptanalysis.
Metrics
Affected Vendors & Products
References
History
Fri, 27 Nov 2026 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Thu, 26 Nov 2026 02:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Nmap
Nmap nmap |
|
| Vendors & Products |
Nmap
Nmap nmap |
Wed, 25 Nov 2026 22:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Nmap before 7.992 contains a hardcoded cryptographic key vulnerability in the DHCAST128 login of the NSE afp.lua library, which uses a fixed, publicly known Diffie-Hellman private exponent. A passive observer of the network traffic between Nmap and an Apple Filing Protocol server can compute the shared secret from the hardcoded exponent and the server's public value and decrypt the password supplied to scripts such as afp-showmount.nse and afp-brute.nse through the afp.username and afp.password arguments, without man-in-the-middle access or cryptanalysis. | |
| Title | Nmap < 7.992 Cleartext Credential Recovery via Hardcoded DH Exponent in afp.lua | |
| Weaknesses | CWE-321 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-11-25T17:29:05.202Z
Updated: 2026-11-27T16:42:34.425Z
Reserved: 2026-08-26T19:00:29.337Z
Link: CVE-2026-81407
Updated: 2026-11-27T15:48:42.184Z
Status : Awaiting Analysis
Published: 2026-11-25T18:18:55.340
Modified: 2026-11-27T17:18:02.940
Link: CVE-2026-81407
No data.