Multiple vulnerabilities in SimpleSAMLphp



Published: 2020-01-31
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-5225
CVE-2020-5226
CWE-ID CWE-117
CWE-79
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
SimpleSAMLphp
Web applications / Other software

Vendor SimpleSAMLphp

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Improper Output Neutralization for Logs

EUVDB-ID: #VU24804

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-5225

CWE-ID: CWE-117 - Improper Output Neutralization for Logs

Exploit availability: No

Description

The vulnerability allows a remote attacker to inject new log lines with arbitrary content.

The vulnerability exists due to the "www/erroreport.php" script, which receives error reports and sends them via email to the system administrator, does not properly sanitize the report identifier obtained from the request. A remote attacker can manually craft this report ID and inject logs messages into a SimpleSAMLphp log file, trying to trick or confuse system administrators.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

SimpleSAMLphp: 1.18.0 - 1.18.3


CPE2.3 External links

http://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-6gc6-m364-85ww
http://simplesamlphp.org/security/202001-02

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Cross-site scripting

EUVDB-ID: #VU24803

Risk: Low

CVSSv3.1: 5.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-5226

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data in the "www/erroreport.php" script. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation

Install update from vendor's website.

Vulnerable software versions

SimpleSAMLphp: 1.18.0 - 1.18.3


CPE2.3 External links

http://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-mj9p-v2r8-wf8w
http://simplesamlphp.org/security/202001-01

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###