Cross-site scripting in ActionView - CVE-2023-28120

 

Cross-site scripting in ActionView - CVE-2023-28120

Published: March 14, 2023


Vulnerability identifier: #VU73274
CSH Severity: Medium
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-28120
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 in ActiveSupport when calling a new bytesplice method on a SafeBuffer. 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

ActionView
Debian Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Manager Server
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
Public Cloud Module
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Server Applications Module
openSUSE Leap
openEuler
Fedora
OpenShift Logging
rmt-server
rmt-server-config
rmt-server-pubcloud
rmt-server-debuginfo
rmt-server-debugsource
rubygem-activesupport-doc
rubygem-activesupport
rails (Debian package)
rubygem-railties
rubygem-rails
rubygem-actioncable
rubygem-actionmailbox
rubygem-actionmailer
rubygem-actionpack
rubygem-actiontext
rubygem-actionview
rubygem-activejob
rubygem-activemodel
rubygem-activerecord
rubygem-activestorage
IBM Cloud Pak for Watson AIOps

How to mitigate CVE-2023-28120

Install updates from vendor's website.

ActionView - addressed in versions 6.1.7.3, 7.0.4.3
OpenShift Logging - addressed in versions 5.6.5, 5.7.2
rmt-server - addressed in versions 2.13-150100.3.45.1, 2.13-150200.3.32.1, 2.13-150300.3.24.1, 2.13-150400.3.12.1, 2.13-150500.3.3.1
rmt-server-config - addressed in versions 2.13-150100.3.45.1, 2.13-150200.3.32.1, 2.13-150300.3.24.1, 2.13-150400.3.12.1, 2.13-150500.3.3.1
rmt-server-pubcloud - addressed in versions 2.13-150100.3.45.1, 2.13-150200.3.32.1, 2.13-150300.3.24.1, 2.13-150400.3.12.1, 2.13-150500.3.3.1
rmt-server-debuginfo - addressed in versions 2.13-150100.3.45.1, 2.13-150200.3.32.1, 2.13-150300.3.24.1, 2.13-150400.3.12.1, 2.13-150500.3.3.1
rmt-server-debugsource - addressed in versions 2.13-150200.3.32.1, 2.13-150300.3.24.1, 2.13-150400.3.12.1, 2.13-150500.3.3.1
IBM Cloud Pak for Watson AIOps - update to 3.7.1
rubygem-activesupport-doc - addressed in versions 5.2.4.4-5, 6.1.4.1-8
rubygem-activesupport - addressed in versions 5.2.4.4-5, 6.1.4.1-8
rails (Debian package) - update to 2:6.0.3.7+dfsg-2+deb11u2
rubygem-railties - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-rails - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-actioncable - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-actionmailbox - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-actionmailer - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-actionpack - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-actiontext - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-actionview - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-activejob - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-activemodel - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-activerecord - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-activestorage - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38
rubygem-activesupport - addressed in versions 7.0.4.3-1.fc37, 7.0.4.3-1.fc38

External References

Related Security Bulletins