PT-2023-12821 · Unknown · Serve-Lite
Liran Tal
·
Published
2023-01-25
·
Updated
2023-02-01
·
CVE-2022-25847
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
serve-lite versions all
Description
The issue arises when the software detects a request to a directory and renders a file listing of its contents. This listing includes links with actual file names, but these names are not sanitized or output encoded, leading to Cross-site Scripting (XSS).
Recommendations
For all versions, consider disabling the directory listing feature until a proper fix is implemented to sanitize or encode file names in links. Restrict access to directory listings to minimize the risk of exploitation.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Serve-Lite