PT-2023-22811 · Pay · Pay
P-
·
Published
2023-04-19
·
Updated
2023-05-15
·
CVE-2023-30614
CVSS v3.1
7.1
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
Pay versions prior to 6.3.2
Description
A payments info page of Pay is susceptible to reflected Cross-site scripting. An attacker could create a working URL that renders a javascript link to a user on a Rails application that integrates Pay. This URL could be distributed via email to specifically target certain individuals. If the targeted application contains a functionality to submit user-generated content (such as comments) the attacker could even distribute the URL using that functionality. The
back parameter is not properly sanitized, allowing an attacker to exploit this issue.Recommendations
For Pay versions prior to 6.3.2, upgrade to version 6.3.2 or above to patch the vulnerability.
As a temporary workaround, consider restricting access to the payments info page until the issue is resolved.
Additionally, restrict the use of the
back parameter to only permit relative paths.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pay