# CVE-2018-6521: SimpleSAMLphp Use of insecure connection charset (sqlauth module)

Source: https://junglewise.ai/threats/cve-2018-6521-simplesamlphp-use-of-insecure-connection-charset-sqlauth-module  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-13  
License: CC BY 4.0 with a link back

CVE-2018-6521 · Severity: low · CVSS 3 · Published 2022-05-13

SimpleSAMLphp Use of insecure connection charset (sqlauth module)

Technologies: [simplesamlphp/simplesamlphp (Packagist)](https://junglewise.ai/threats/technologies/simplesamlphp-simplesamlphp). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2018-6521 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-6521 being exploited in the wild.

**How severe is CVE-2018-6521?** Low severity, with a CVSS score of 3, published 13 May 2022.

**Which products and versions are affected?** simplesamlphp/simplesamlphp (Packagist) ECOSYSTEM:introduced=0,fixed=1.15.2.

**Is there a fix for CVE-2018-6521?** Yes. simplesamlphp/simplesamlphp (Packagist): upgrade to 1.15.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-6521?** Check whether you run simplesamlphp/simplesamlphp (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- simplesamlphp/simplesamlphp (Packagist): upgrade to 1.15.2 or later

  ```sh
  composer require simplesamlphp/simplesamlphp:^1.15.2
  ```


## Affected products

- simplesamlphp/simplesamlphp (Packagist) ECOSYSTEM:introduced=0,fixed=1.15.2

## Identifiers

- CVE-2018-6521
- GHSA-qv5p-6wrc-79wg

## Related threats

- [SimpleSAMLphp authentication bypass in SAML SP ACS path](https://junglewise.ai/threats/cve-2026-49284-simplesamlphp-authentication-bypass-in-saml-sp-acs-path)
- [SimpleSAMLphp vulnerable to XXE in parsing SAML messages](https://junglewise.ai/threats/simplesamlphp-vulnerable-to-xxe-in-parsing-saml-messages-e65d95cd)
- [SimpleSAMLphp Information Disclosure vulnerability](https://junglewise.ai/threats/simplesamlphp-information-disclosure-vulnerability-07de5cdd)
- [SimpleSAMLphp Reflected Cross-site Scripting vulnerability](https://junglewise.ai/threats/simplesamlphp-reflected-cross-site-scripting-vulnerability-76196f28)
- [Duplicate Advisory: SimpleSAMLphp signature validation bypass](https://junglewise.ai/threats/duplicate-advisory-simplesamlphp-signature-validation-bypass-85859e99)
