CVE-2015-3996

medium

Description

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.

References

https://owncloud.org/security/advisory/?id=oc-sa-2015-012

https://github.com/AFNetworking/AFNetworking/releases/tag/2.5.3

https://github.com/AFNetworking/AFNetworking/issues/2619

http://www.securityfocus.com/bid/76242

Details

Source: Mitre, NVD

Published: 2015-10-27

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 5.9

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Severity: Medium

EPSS

EPSS: 0.00213