CVE-2022-47373
Medium · 6.1CVSS
6.1
EPSS
0.3%
Published
Feb 15, 2023
CISA due date
—
Cloudanix analysis
A flaw in the password-recovery page of the Pandora FMS monitoring console lets attackers run harmful code in an administrator's browser simply by getting that person to click a specially made link.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Reflected XSS triggered when the username parameter in the forget-password flow of the Module Library lacks sanitization, allowing arbitrary JavaScript to execute in the context of any user who follows the crafted link.
Why it matters to the business
Attackers can steal session tokens or credentials from console administrators, leading to unauthorized access, data exposure, or further compromise of the monitoring platform.
How an attack unfolds
An attacker crafts a malicious URL containing a JavaScript payload in the username parameter of the forget-password endpoint, then tricks an authenticated console user into clicking the link; the browser reflects and executes the script, giving the attacker control within the Pandora FMS session.
How to fix it
Upgrade Pandora FMS Console to a version newer than 766 that properly sanitizes the username parameter; until then, restrict external access to the console and implement web-application firewall rules that block script tags and event handlers in query parameters.
How to confirm the fix worked
Reproduce the forget-password request with a test payload such as <script>alert(1)</script> in the username field and confirm the response no longer reflects executable script; review release notes for the applied input-validation changes.
Typical attack path
- Identify the forget-password endpoint in the Module Library
- Inject a script payload into the username parameter without proper encoding
- Deliver the crafted link via phishing or another channel to a console user
- Victim interaction causes the payload to execute in the browser
- Attacker captures cookies, performs actions, or pivots inside the console
How to detect it
Inspect web-server access logs and application logs for forget-password or search requests that contain HTML tags, JavaScript keywords, or encoded script content in the username field; correlate with unusual session activity or unexpected admin actions.
- username=%3Cscript
- username=%3Cimg%20onerror
- forget_password.*username=.*alert
- ModuleLibrary.*search.*%3Cscript
What your security team should do
- Prioritize upgrade of all Pandora FMS instances beyond version 766
- Add WAF or proxy rules to neutralize script content in authentication-related parameters
- Enable detailed logging of password-reset requests and review for anomalous payloads
- Educate console administrators on recognizing suspicious password-reset links
The record
Reflected Cross Site Scripting in Search Functionality of Module Library in Pandora FMS Console v766 and lower. This vulnerability arises on the forget password functionality in which parameter username does not proper input validation/sanitization thus results in executing malicious JavaScript payload.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | pandora | 0 | No fix |
| Ubuntu:18.04:LTS | pandora | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | pandora | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | pandora | 0 | No fix |
Related vulnerabilities
- CVE-2022-45437 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')… Also affects pandora
- CVE-2022-47372 Stored cross-site scripting vulnerability in the Create event section in Pandora FMS… Also affects pandora
- CVE-2022-45436 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')… Also affects pandora
- CVE-2026-96379 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96382 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96368 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96361 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96362 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79