### [CVE-2015-3193](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3193) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%20n%2Fa%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description The Montgomery squaring implementation in crypto/bn/asm/x86_64-mont5.pl in OpenSSL 1.0.2 before 1.0.2e on the x86_64 platform, as used by the BN_mod_exp function, mishandles carry propagation and produces incorrect output, which makes it easier for remote attackers to obtain sensitive private-key information via an attack against use of a (1) Diffie-Hellman (DH) or (2) Diffie-Hellman Ephemeral (DHE) ciphersuite. ### POC #### Reference - http://fortiguard.com/advisory/openssl-advisory-december-2015 - http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html - http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html - http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html - http://www.securityfocus.com/bid/91787 - http://www.ubuntu.com/usn/USN-2830-1 - https://blog.fuzzing-project.org/31-Fuzzing-Math-miscalculations-in-OpenSSLs-BN_mod_exp-CVE-2015-3193.html - https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40100 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/Live-Hack-CVE/CVE-2015-3193 - https://github.com/Live-Hack-CVE/CVE-2017-3732 - https://github.com/Live-Hack-CVE/CVE-2017-3738 - https://github.com/RClueX/Hackerone-Reports - https://github.com/chnzzh/OpenSSL-CVE-lib - https://github.com/hannob/bignum-fuzz - https://github.com/imhunterand/hackerone-publicy-disclosed - https://github.com/mrash/afl-cve