CVE-2017-12871: Weak Encryption

Published Mar 30, 2017
·
Updated

Incorrect IV generation for encryption

Other sources

The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for context-dependent attackers to bypass the encryption protection mechanism by leveraging use of the first 16 bytes of the secret key as the initialization vector (IV).

GitHub

The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for context-dependent attackers to bypass the encryption protection mechanism by leveraging use of the first 16 bytes of the secret key as the initialization vector (IV).

Affected Software

14 affected componentsFixes available
composer/simplesamlphp/simplesamlphp>=1.14.0, <1.14.12
composer/simplesamlphp/simplesamlphp>=1.14.0<1.14.12
1.14.12
SimpleSAMLphp=1.14.0
SimpleSAMLphp=1.14.1
SimpleSAMLphp=1.14.2
SimpleSAMLphp=1.14.3
SimpleSAMLphp=1.14.4
SimpleSAMLphp=1.14.5
SimpleSAMLphp=1.14.6
SimpleSAMLphp=1.14.7
SimpleSAMLphp=1.14.8
SimpleSAMLphp=1.14.9
SimpleSAMLphp=1.14.10
SimpleSAMLphp=1.14.11

Event History

Mar 30, 2017
Advisory Published
09:51 AM
Sep 1, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What versions are affected by CVE-2017-12871?

CVE-2017-12871 affects SimpleSAMLphp versions from 1.14.0 to 1.14.11.

2

What is the impact of CVE-2017-12871?

CVE-2017-12871 allows context-dependent attackers to bypass encryption protection due to incorrect IV generation.

3

How do I fix CVE-2017-12871?

To fix CVE-2017-12871, upgrade SimpleSAMLphp to version 1.14.12 or later.

4

What is the severity rating of CVE-2017-12871?

The severity rating of CVE-2017-12871 is considered to be high due to its potential to allow unauthorized access.

5

Is CVE-2017-12871 a zero-day vulnerability?

No, CVE-2017-12871 is not a zero-day vulnerability as it was publicly disclosed and a patch is available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203