ID CVE-2018-7711
Summary HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation utilities, allowing an attacker to get invalid signatures accepted as valid by forcing an error during validation. This occurs because of a dependency on PHP functionality that interprets a -1 error code as a true boolean value.
References
Vulnerable Configurations
  • Debian Linux 7.0
    cpe:2.3:o:debian:debian_linux:7.0
CVSS
Base: 6.8
Impact:
Exploitability:
CWE CWE-347
CAPEC
  • Padding Oracle Crypto Attack
    An attacker is able to efficiently decrypt data without knowing the decryption key if a target system leaks data on whether or not a padding error happened while decrypting the ciphertext. A target system that leaks this type of information becomes the padding oracle and an attacker is able to make use of that oracle to efficiently decrypt data without knowing the decryption key by issuing on average 128*b calls to the padding oracle (where b is the number of bytes in the ciphertext block). In addition to performing decryption, an attacker is also able to produce valid ciphertexts (i.e., perform encryption) by using the padding oracle, all without knowing the encryption key. Any cryptosystem can be vulnerable to padding oracle attacks if the encrypted messages are not authenticated to ensure their validity prior to decryption, and then the information about padding error is leaked to the attacker. This attack technique may be used, for instance, to break CAPTCHA systems or decrypt/modify state information stored in client side objects (e.g., hidden fields or cookies). This attack technique is a side-channel attack on the cryptosystem that uses a data leak from an improperly implemented decryption routine to completely subvert the cryptosystem. The one bit of information that tells the attacker whether a padding error during decryption has occurred, in whatever form it comes, is sufficient for the attacker to break the cryptosystem. That bit of information can come in a form of an explicit error message about a padding error, a returned blank page, or even the server taking longer to respond (a timing attack). This attack can be launched cross domain where an attacker is able to use cross-domain information leaks to get the bits of information from the padding oracle from a target system / service with which the victim is communicating. To do so an attacker sends a request containing ciphertext to the target system. Due to the browser's same origin policy, the attacker is not able to see the response directly, but can use cross-domain information leak techniques to still get the information needed (i.e., information on whether or not a padding error has occurred). For instance, this can be done using "img" tag plus the onerror()/onload() events. The attacker's JavaScript can make web browsers to load an image on the target site, and know if the image is loaded or not. This is 1-bit information needed for the padding oracle attack to work: if the image is loaded, then it is valid padding, otherwise it is not.
nessus via4
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-37E28670F2.NASL
    description - [SSPSA 201803-01 / CVE-2018-7711](https://simplesamlphp.org/security/201803 -01) - [SSPSA 201802-01 / CVE-2018-7644](https://simplesamlphp.org/security/201802 -01) - [SSPSA 201801-01 / CVE-2018-6519](https://simplesamlphp.org/security/201801 -01) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-09-05
    plugin id 108615
    published 2018-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=108615
    title Fedora 27 : php-simplesamlphp-saml2_3 (2018-37e28670f2)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-8CDA2309D6.NASL
    description - [SSPSA 201803-01 / CVE-2018-7711](https://simplesamlphp.org/security/201803 -01) - [SSPSA 201802-01 / CVE-2018-7644](https://simplesamlphp.org/security/201802 -01) - [SSPSA 201801-01 / CVE-2018-6519](https://simplesamlphp.org/security/201801 -01) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2019-01-03
    plugin id 120598
    published 2019-01-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=120598
    title Fedora 28 : php-simplesamlphp-saml2_3 (2018-8cda2309d6)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-0EE228DA17.NASL
    description - [SSPSA 201803-01 / CVE-2018-7711](https://simplesamlphp.org/security/201803 -01) - [SSPSA 201802-01 / CVE-2018-7644](https://simplesamlphp.org/security/201802 -01) - [SSPSA 201801-01 / CVE-2018-6519](https://simplesamlphp.org/security/201801 -01) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2019-01-03
    plugin id 120236
    published 2019-01-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=120236
    title Fedora 28 : php-simplesamlphp-saml2_1 (2018-0ee228da17)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-85CB15BEFD.NASL
    description - [SSPSA 201803-01 / CVE-2018-7711](https://simplesamlphp.org/security/201803 -01) - [SSPSA 201802-01 / CVE-2018-7644](https://simplesamlphp.org/security/201802 -01) - [SSPSA 201801-01 / CVE-2018-6519](https://simplesamlphp.org/security/201801 -01) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2019-01-03
    plugin id 120582
    published 2019-01-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=120582
    title Fedora 28 : php-simplesamlphp-saml2 (2018-85cb15befd)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-1314.NASL
    description Cure53 discovered that in SimpleSAMLphp, in rare circumstances an invalid signature on the SAML 2.0 HTTP Redirect binding could be considered valid. Additionally this update fixes a regression introduced in DLA-1298 by the backported patch for SSA-201802-01/CVE-2018-7644. For Debian 7 'Wheezy', these problems have been fixed in version 1.9.2-1+deb7u4. We recommend that you upgrade your simplesamlphp packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-08-31
    plugin id 108604
    published 2018-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=108604
    title Debian DLA-1314-1 : simplesamlphp security update
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-F4AB4D96F9.NASL
    description - [SSPSA 201803-01 / CVE-2018-7711](https://simplesamlphp.org/security/201803 -01) - [SSPSA 201802-01 / CVE-2018-7644](https://simplesamlphp.org/security/201802 -01) - [SSPSA 201801-01 / CVE-2018-6519](https://simplesamlphp.org/security/201801 -01) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-09-06
    plugin id 108622
    published 2018-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=108622
    title Fedora 26 : php-simplesamlphp-saml2 (2018-f4ab4d96f9)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-96601292A2.NASL
    description - [SSPSA 201803-01 / CVE-2018-7711](https://simplesamlphp.org/security/201803 -01) - [SSPSA 201802-01 / CVE-2018-7644](https://simplesamlphp.org/security/201802 -01) - [SSPSA 201801-01 / CVE-2018-6519](https://simplesamlphp.org/security/201801 -01) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-09-04
    plugin id 108619
    published 2018-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=108619
    title Fedora 27 : php-simplesamlphp-saml2_1 (2018-96601292a2)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-6DB40B0C37.NASL
    description - [SSPSA 201803-01 / CVE-2018-7711](https://simplesamlphp.org/security/201803 -01) - [SSPSA 201802-01 / CVE-2018-7644](https://simplesamlphp.org/security/201802 -01) - [SSPSA 201801-01 / CVE-2018-6519](https://simplesamlphp.org/security/201801 -01) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-09-05
    plugin id 108618
    published 2018-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=108618
    title Fedora 27 : php-simplesamlphp-saml2 (2018-6db40b0c37)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-F2097D8937.NASL
    description - [SSPSA 201803-01 / CVE-2018-7711](https://simplesamlphp.org/security/201803 -01) - [SSPSA 201802-01 / CVE-2018-7644](https://simplesamlphp.org/security/201802 -01) - [SSPSA 201801-01 / CVE-2018-6519](https://simplesamlphp.org/security/201801 -01) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-09-06
    plugin id 108621
    published 2018-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=108621
    title Fedora 26 : php-simplesamlphp-saml2_3 (2018-f2097d8937)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2018-D809BD2FD6.NASL
    description - [SSPSA 201803-01 / CVE-2018-7711](https://simplesamlphp.org/security/201803 -01) - [SSPSA 201802-01 / CVE-2018-7644](https://simplesamlphp.org/security/201802 -01) - [SSPSA 201801-01 / CVE-2018-6519](https://simplesamlphp.org/security/201801 -01) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-09-04
    plugin id 108620
    published 2018-03-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=108620
    title Fedora 26 : php-simplesamlphp-saml2_1 (2018-d809bd2fd6)
refmap via4
confirm
mlist [debian-lts-announce] 20180323 [SECURITY] [DLA 1314-1] simplesamlphp security update
Last major update 05-03-2018 - 17:29
Published 05-03-2018 - 17:29
Last modified 29-03-2018 - 11:24
Back to Top