In sig_verify() in x509.c in axTLS version 2.1.3 and before, the PKCS#1 v1.5 signature verification blindly trusts the declared lengths in the ASN.1 structure. Consequently, when small public exponents are being used, a remote attacker can generate purposefully crafted signatures (and put them on X.509 certificates) to induce illegal memory access and crash the verifier.
References
Link | Resource |
---|---|
https://sourceforge.net/p/axtls/mailman/message/36459928/ | Exploit Third Party Advisory Patch |
https://github.com/igrr/axtls-8266/commit/5efe2947ab45e81d84b5f707c51d1c64be52f36c | Patch Third Party Advisory |
Configurations
Information
Published : 2018-11-07 12:29
Updated : 2019-01-31 07:04
NVD link : CVE-2018-16149
Mitre link : CVE-2018-16149
JSON object : View
CWE
CWE-347
Improper Verification of Cryptographic Signature
Products Affected
axtls_project
- axtls