CVE-2015-3996
What it is
The default AFSecurityPolicy.validatesDomainName configuration for AFSSLPinningModeNone in the AFNetworking framework before 2.5.3, as used in the ownCloud iOS Library, disables verification of a server hostname against the domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 0.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.8% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.8% · EPSS, next 30 days
- Weakness
- CWE-254
- Record status
- Modified
Affected
- Afnetworking Project Afnetworking ≤ 2.5.2
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2015-3996.md and follow it. Check whether this project is affected by CVE-2015-3996. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/AFNetworking/AFNetworking/releases/tag/2.5.3
- https://owncloud.org/security/advisory/?id=oc-sa-2015-012
- https://github.com/AFNetworking/AFNetworking/releases/tag/2.5.3
- https://owncloud.org/security/advisory/?id=oc-sa-2015-012
References
- http://www.securityfocus.com/bid/76242
- https://github.com/AFNetworking/AFNetworking/issues/2619
- https://github.com/AFNetworking/AFNetworking/releases/tag/2.5.3
- https://owncloud.org/security/advisory/?id=oc-sa-2015-012
- http://www.securityfocus.com/bid/76242
- https://github.com/AFNetworking/AFNetworking/issues/2619
- https://github.com/AFNetworking/AFNetworking/releases/tag/2.5.3
- https://owncloud.org/security/advisory/?id=oc-sa-2015-012