XSS in Ruby actionpack



Published: 2022-11-03
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-27777
CWE-ID CWE-79
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
actionpack
Web applications / Modules and components for CMS

Vendor Ruby

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Cross-site scripting

EUVDB-ID: #VU68961

Risk: Low

CVSSv3.1:

CVE-ID: CVE-2022-27777

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 within the Action View tag helpers. 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 updates from vendor's website.

Vulnerable software versions

actionpack: 5.2.0 - 5.2.7, 6.1.0 - 6.1.5, 7.0.0 - 7.0.2.3, 6.0.0 - 6.0.4.7, 5.1.0 - 5.1.7 rc1, 5.0.0 - 5.0.7.2, 4.2.0 - 4.2.11.3, 4.1.0 - 4.1.16 rc1, 4.0.0 - 4.0.13 rc1, 3.2.0 - 3.2.22.5, 3.1.0 - 3.1.12, 3.0.0 - 3.0.20, 2.3.2 - 2.3.18, 2.2.2 - 2.2.3, 2.1.0 - 2.1.2, 2.0.0 - 2.0.5, 1.13.0 - 1.13.6, 1.12.0 - 1.12.5, 1.11.0 - 1.11.2, 1.10.1 - 1.10.2, 1.9.0 - 1.9.1, 1.8.0 - 1.8.1, 1.7.0, 1.6.0, 1.5.0 - 1.5.1, 1.4.0, 1.3.0 - 1.3.1, 1.2.0, 1.1.0, 1.0.0 - 1.0.1, 0.9.0 - 0.9.5


CPE2.3 External links

http://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###