Unfiltered Java Native Deserialization of SAML 2.0 Asserting Party Credentials BLOB Database Entry
An attacker with write permissions to the database table managed by JdbcAssertingPartyMetadataRepository (saml2_asserting_party_metadata) may be able to store malicious serialized payloads in the columns containing the collection of verification or encryption credentials (verification_credentials and encryption_credentials, respectively).
Affected versions:
Spring Security 7.0.0 through 7.0.5.
Description: CWE-502: Deserialization of Untrusted Data
Metrics
Version
Base score
Base severity
Vector
3.1
7.3
HIGH
CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H
Version:3.1
Base score:7.3
Base severity: HIGH
Vector:
CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H
Metrics Other Info
Impacts
CAPEC ID
Description
N/A
An attacker with write access to the saml2_asserting_party_metadata table can store malicious serialized payloads to achieve remote code execution on the server.
CAPEC ID: N/A
Description: An attacker with write access to the saml2_asserting_party_metadata table can store malicious serialized payloads to achieve remote code execution on the server.