Input validation error in SimpleSAMLphp - CVE-2018-6521

 

Input validation error in SimpleSAMLphp - CVE-2018-6521

Published: February 2, 2018 / Updated: August 8, 2020


Vulnerability identifier: #VU37570
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-6521
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: SimpleSAMLphp
Affected software:
SimpleSAMLphp

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


How to mitigate CVE-2018-6521

Install update from vendor's website.

Sources