Improper Input Validation Affecting simplesamlphp/xml-security package, versions >=1.6.11, <1.6.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SIMPLESAMLPHPXMLSECURITY-6094945
  • published29 Nov 2023
  • disclosed28 Nov 2023
  • creditUnknown

Introduced: 28 Nov 2023

CVE-2023-49087  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade simplesamlphp/xml-security to version 1.6.12 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation via the SignedElementTrait::validateReference and SignedElementTrait::verifyInternal functions. An attacker can manipulate the canonicalized version's DigestValue, potentially forging the signature by exploiting a bug in PHP's canonicalization function.

References

CVSS Scores

version 3.1