Cross-site scripting in Smarty - CVE-2023-28447

 

Cross-site scripting in Smarty - CVE-2023-28447

Published: March 29, 2023


Vulnerability identifier: #VU74151
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2023-28447
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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. 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.


Affected software

Smarty
Debian Linux
Fedora
Ubuntu
Storage Sentinel Anomaly Scan Engine
postfixadmin (Ubuntu package)
smarty3 (Ubuntu package)
smarty3 (Debian package)
php-Smarty

How to mitigate CVE-2023-28447

Install updates from vendor's website.

Smarty - addressed in versions 3.1.48, 4.3.1
Storage Sentinel Anomaly Scan Engine - update to 1.1.12
postfixadmin (Ubuntu package) - update to Ubuntu Pro
smarty3 (Ubuntu package) - addressed in versions Ubuntu Pro, 3.1.21-1ubuntu1+esm2, 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1, 3.1.39-2ubuntu1.22.04.2, 3.1.48-1ubuntu0.24.04.1, 3.1.48-1ubuntu0.24.10.1
smarty3 (Debian package) - update to 3.1.47-2+deb12u1
php-Smarty - addressed in versions 3.1.48-1.fc36, 3.1.48-1.fc37, 3.1.48-1.fc38, 3.1.48-2.el7

External References

Related Security Bulletins