All CVEs / Afnetworking Project
CVE-2015-3996Afnetworking Project Afnetworking
Medium 4.3 No auth needed
Follow: this CVE · Afnetworking Project · Afnetworking Project Afnetworking We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 59
- Auth required
- No
- Published
- Oct 27, 2015
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-254
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Afnetworking.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| afnetworking_project | afnetworking | ≤ 2.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com
- github.com
- github.com
- owncloud.org Vendor Advisory