Bug 968029 (CVE-2015-7826) - VUL-0: CVE-2015-7826: Botan: Acceptance of invalid certificate names
Summary: VUL-0: CVE-2015-7826: Botan: Acceptance of invalid certificate names
Status: RESOLVED INVALID
Alias: CVE-2015-7826
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Philipp Thomas
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/162164/
Whiteboard: CVSSv2:RedHat:CVE-2015-7826:4.3:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-24 11:35 UTC by Alexander Bergmann
Modified: 2016-03-21 09:16 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2016-02-24 11:35:30 UTC
http://botan.randombit.net/security.html

2015-10-26 (CVE-2015-7826): Acceptance of invalid certificate names

RFC 6125 specifies how to match a X.509v3 certificate against a DNS name for application usage.

Otherwise valid certificates using wildcards would be accepted as matching certain hostnames that should they should not according to RFC 6125. For example a certificate issued for ‘*.example.com’ should match ‘foo.example.com’ but not ‘example.com’ or ‘bar.foo.example.com’. Previously Botan would accept such a certificate as valid for ‘bar.foo.example.com’.

RFC 6125 also requires that when matching a X.509 certificate against a DNS name, the CN entry is only compared if no subjectAlternativeName entry is available. Previously X509_Certificate::matches_dns_name would always check both names.

Found in a review by Sirrix AG and 3curity GmbH.

Introduced in 1.11.0, fixed in 1.11.22

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-7826
http://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7826.html
Comment 1 Swamp Workflow Management 2016-02-24 23:03:51 UTC
bugbot adjusting priority
Comment 2 Victor Pereira 2016-03-21 09:16:53 UTC
In all our codestreams (opensuse included), we have Botan < 1.11.0