CVE-2018-6521
published 2018-02-02CVE-2018-6521: The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. There might…
PriorityP353critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
3.11%
86.3th percentile
The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. There might be a scenario in which this allows remote attackers to bypass intended access restrictions.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | simplesamlphp | < simplesamlphp 1.15.2-1 (bookworm) | simplesamlphp 1.15.2-1 (bookworm) |
| simplesamlphp | simplesamlphp | < 1.15.2 | 1.15.2 |
| simplesamlphp | simplesamlphp | >= 0 < 1.15.2-1 | 1.15.2-1 |
| simplesamlphp | simplesamlphp | >= 0 < 1.15.2-1 | 1.15.2-1 |
| simplesamlphp | simplesamlphp | >= 0 < 1.15.2 | 1.15.2 |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2018-6521: simplesamlphp - The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 chars...
vendor_debian·2018·CVSS 9.8
CVE-2018-6521 [CRITICAL] CVE-2018-6521: simplesamlphp - The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 chars...
The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. There might be a scenario in which this allows remote attackers to bypass intended access restrictions.
Scope: local
bookworm: resolved (fixed in 1.15.2-1)
bullseye: resolved (fixed in 1.15.2-1)
sid: resolved (fixed in 1.15.2-1)
GHSA
SimpleSAMLphp Use of insecure connection charset (sqlauth module)
ghsa·2022-05-13
CVE-2018-6521 [CRITICAL] SimpleSAMLphp Use of insecure connection charset (sqlauth module)
SimpleSAMLphp Use of insecure connection charset (sqlauth module)
The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. There might be a scenario in which this allows remote attackers to bypass intended access restrictions.
OSV
SimpleSAMLphp Use of insecure connection charset (sqlauth module)
osv·2022-05-13
CVE-2018-6521 [CRITICAL] SimpleSAMLphp Use of insecure connection charset (sqlauth module)
SimpleSAMLphp Use of insecure connection charset (sqlauth module)
The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. There might be a scenario in which this allows remote attackers to bypass intended access restrictions.
OSV
CVE-2018-6521: The sqlauth module in SimpleSAMLphp before 1
osv·2018-02-02·CVSS 9.8
CVE-2018-6521 [CRITICAL] CVE-2018-6521: The sqlauth module in SimpleSAMLphp before 1
The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. There might be a scenario in which this allows remote attackers to bypass intended access restrictions.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-6521 php-simplesamlphp-saml2: insecure connection charset in sqlauth module
bugzilla·2018-03-07·CVSS 9.8
CVE-2018-6521 [CRITICAL] CVE-2018-6521 php-simplesamlphp-saml2: insecure connection charset in sqlauth module
CVE-2018-6521 php-simplesamlphp-saml2: insecure connection charset in sqlauth module
The sqlauth module in SimpleSAMLphp before 1.15.2 relies on the MySQL utf8 charset, which truncates queries upon encountering four-byte characters. There might be a scenario in which this allows remote attackers to bypass intended access restrictions.
References:
https://simplesamlphp.org/security/201801-03
https://lists.debian.org/debian-lts-announce/2018/02/msg00008.html
Discussion:
Created php-simplesamlphp-saml2 tracking bugs for this issue:
Affects: fedora-all [bug 1552851]
Affects: epel-all [bug 1552852]
---
CVE-2018-6521 (SSPSA 201801-03) is for the SimpleSAMLphp application not the php-simplesamlphp/saml2 library
Dependent bugs have been closed as not a bug. Please close this bug as well.
Bugzilla
CVE-2018-6521 php-simplesamlphp-saml2: insecure connection charset in sqlauth module [epel-all]
bugzilla·2018-03-07·CVSS 9.8
CVE-2018-6521 [CRITICAL] CVE-2018-6521 php-simplesamlphp-saml2: insecure connection charset in sqlauth module [epel-all]
CVE-2018-6521 php-simplesamlphp-saml2: insecure connection charset in sqlauth module [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple su
Bugzilla
CVE-2018-6521 php-simplesamlphp-saml2: insecure connection charset in sqlauth module [fedora-all]
bugzilla·2018-03-07·CVSS 9.8
CVE-2018-6521 [CRITICAL] CVE-2018-6521 php-simplesamlphp-saml2: insecure connection charset in sqlauth module [fedora-all]
CVE-2018-6521 php-simplesamlphp-saml2: insecure connection charset in sqlauth module [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multipl
https://lists.debian.org/debian-lts-announce/2018/02/msg00008.htmlhttps://simplesamlphp.org/security/201801-03https://www.debian.org/security/2018/dsa-4127https://lists.debian.org/debian-lts-announce/2018/02/msg00008.htmlhttps://simplesamlphp.org/security/201801-03https://www.debian.org/security/2018/dsa-4127
2018-02-02
Published