XML Message Spoofing Vulnerability in SimpleSAMLphp InfoCard Module

simplesamlphp Updated 02 Oct 2025

Summary

01/09/2017
N/A
Yes i
High
7.5

CVE-2017-12874: The InfoCard module 1.0 for SimpleSAMLphp allows attackers to spoof XML messages by leveraging an incorrect check of return values in signature validation utilities. Affects simplesamlphp across 2 version ranges.

< 1.14.11-1 < b8699d5258b2eaec87898febc7c88d26919a30d3

Fixed in 1.14.11-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

SimpleSAMLphp is an open-source application that provides a simple way to implement SAML-based Single Sign-On (SSO) and identity management. The InfoCard module, part of SimpleSAMLphp, allows users to manage their identities and access various services securely. However, a vulnerability in this module can lead to security risks, particularly in the validation of XML messages.

Vulnerability Detail

The vulnerability, identified as CVE-2017-12874, arises from an incorrect check of return values in the signature validation utilities of the InfoCard module. This flaw allows attackers to spoof XML messages, potentially leading to unauthorized access or manipulation of sensitive information. The severity of this vulnerability is underscored by its CVSS score of 7.5, indicating a high risk to affected systems.

How To Fix

Minimum fixed version

1.14.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade simplesamlphp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing strict input validation and monitoring for unusual XML message patterns as a temporary measure to mitigate the risk of exploitation until the upgrade can be performed.

Conclusion

The CVE-2017-12874 vulnerability in the SimpleSAMLphp InfoCard module poses a significant risk due to its potential for XML message spoofing. Users are strongly advised to upgrade to the latest version to protect their systems from exploitation. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.

See every vulnerability recorded for simplesamlphp →

Share this vulnerability

FAQ

CVE-2017-12874 is a vulnerability in the InfoCard module of SimpleSAMLphp that allows attackers to spoof XML messages due to improper signature validation.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability could lead to unauthorized access to sensitive information, identity theft, or manipulation of user identities.

It is recommended to upgrade to SimpleSAMLphp version 1.14.11-1 or later to mitigate the risk associated with this vulnerability.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in software using a manifest file like package-lock.json. It helps developers stay informed about potential security risks.

Related vulnerabilities

Recent vulnerabilities recorded for simplesamlphp.

How To Fix

Minimum fixed version

1.14.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade simplesamlphp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback