CVE-2025-55473
BaseFortify
Publication date: 2025-09-02
Last updated on: 2025-09-04
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| docker | docker | 2024.12.8.1 |
| aatf | asian_arts_talents_foundation_website | 5.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Reflected Cross-Site Scripting (XSS) issue in the Asian Arts Talents Foundation website, specifically in the /ip.php endpoint. It occurs because the site takes the X-Forwarded-For HTTP header from incoming requests and outputs it directly into the webpage without properly sanitizing or encoding it. This allows an attacker to inject malicious JavaScript code that executes in the browsers of visitors to the site. [1]
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to theft of session cookies or authentication tokens, injection of malicious scripts such as keyloggers or phishing redirects, account hijacking, privilege escalation, and damage to user trust and brand reputation. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by sending a crafted HTTP request with a malicious X-Forwarded-For header to the /ip.php endpoint and observing if the injected script executes. For example, you can use the following curl command to test for the vulnerability: curl -H "X-Forwarded-For: <script>alert('XSS, CyberDucky was Here.')</script>" http://localhost/ip.php. If the alert pops up in the browser, the system is vulnerable. Additionally, monitoring HTTP headers for anomalous or suspicious X-Forwarded-For values can help detect exploitation attempts. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include sanitizing the X-Forwarded-For header output in the /ip.php endpoint by using PHP's htmlspecialchars function with ENT_QUOTES and UTF-8 encoding, e.g., print(htmlspecialchars($_SERVER["HTTP_X_FORWARDED_FOR"], ENT_QUOTES, 'UTF-8')). Additionally, implement security headers such as X-Content-Type-Options: nosniff, X-Frame-Options: DENY, and Content-Security-Policy: default-src 'self'; enforce HTTPS sitewide, and monitor header values for anomalous IP formats to harden the application against exploitation. [1]