SB2022061718 - Multiple vulnerabilities in SPIP
Published: June 17, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 secuirty vulnerabilities.
1) Arbitrary file upload (CVE-ID: CVE-2021-44123)
The vulnerability allows a remote user to execute arbitrary code on the system.
The vulnerability exists due to insufficient validation of file during file upload. A remote user can upload a specially crafted malicious file and execute it on the server.
2) Cross-site request forgery (CVE-ID: CVE-2021-44122)
The vulnerability allows a remote attacker to perform cross-site request forgery attacks.
The vulnerability exists due to insufficient validation of the HTTP request origin in ecrire/public/aiguiller.php, ecrire/public/balises.php, and ecrire/balise/formulaire_.php scripts. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.
It is also possible to combine XSS vulnerabilities in SPIP 4.0.0 to exploit it.
3) Cross-site scripting (CVE-ID: CVE-2021-44120)
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in the ecrire/public/interfaces.php. A remote user 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.
4) Cross-site scripting (CVE-ID: CVE-2021-44118)
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data. A remote user can trick the victim into browsing a malicious SVG file and script code in user's browser in context of a 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.
Remediation
Install update from vendor's website.
References
- https://git.spip.net/spip/spip/commit/1cf91def15966406ddd0488cf9d1ecd1ae82d47a
- https://git.spip.net/spip/spip/commit/1b8e4f404c2441c15ca6540b9a6d8e50cff219db
- https://git.spip.net/spip/spip/commit/d548391d799387d1e93cf1a369d385c72f7d5c81
- https://git.spip.net/spip/medias/commit/13c293fabd35e2c152379522c29432423936cbba
- https://git.spip.net/spip/spip/commit/4ccf90a6912d7fab97e1bd5619770c9236cc7357