S4E just found a high-severity finding from [ai] pa ssl inspection control
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Mar 18, 2025

CVE-2024-39338 Scanner

CVE-2024-39338 Scanner - Server-Side Request Forgery (SSRF) vulnerability in Axios

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
2.6k
Times Used
continuous scan runs
4.1k
Continuously Checked
assets under CS
9
Vulnerabilities Found
confirmed findings
CVECVE-2024-39338
7.5
CVSSmedium
Exploitable remotely over the internet · no authentication required.

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
n/aby n/a
n/a
axiosby axios
1.7.2
Updated Aug 22, 2026View on NVD →
Detail

Axios is a widely used promise-based HTTP client for browsers and Node.js applications. It provides an intuitive API for handling HTTP requests and responses, making it popular among developers working on front-end and back-end projects. The library is commonly used in modern JavaScript applications to interact with RESTful APIs efficiently. Due to its ease of integration and feature-rich capabilities, it is widely adopted in enterprise and open-source projects. Axios simplifies handling asynchronous requests and includes built-in support for request cancellation and automatic JSON data transformation. However, due to its widespread use, security vulnerabilities like SSRF can have significant impacts across various applications.

Server-Side Request Forgery (SSRF) is a vulnerability that allows an attacker to manipulate a server into making unauthorized requests to internal or external resources. In the case of Axios, this vulnerability is caused by unexpected behavior where requests for path-relative URLs are processed as protocol-relative URLs. This flaw exists in versions 1.3.2 to 1.7.3 and allows attackers to control the request destination by crafting specially formatted URLs. The vulnerability enables attackers to access restricted network locations, exfiltrate sensitive data, or launch secondary attacks. Exploiting this issue does not require authentication or user interaction, making it a critical security risk. The issue was addressed in Axios version 1.7.4.

This vulnerability occurs due to how Axios handles user-controlled input when constructing HTTP requests. Specifically, an attacker can manipulate the base URL to trick the application into sending requests to unintended destinations. A proof-of-concept (PoC) exploit demonstrates how changing a user ID parameter from an expected relative path to a protocol-relative URL allows unintended HTTP requests. In this scenario, a request that should normally be made to `https://userapi.example.com/12345` can be altered to `//google.com`, resulting in an unauthorized request to `http://www.google.com/`. This vulnerability exposes applications to potential data leaks and unauthorized access to internal resources. The security flaw was classified under CWE-918 (Server-Side Request Forgery).

If exploited, this vulnerability could allow an attacker to perform arbitrary requests on behalf of the vulnerable server. This may lead to unauthorized access to sensitive internal systems, exposing confidential data and increasing the risk of lateral movement within a network. Attackers could leverage this flaw to interact with cloud metadata services, retrieve authentication tokens, or exploit other backend vulnerabilities. Organizations using vulnerable versions of Axios should assess their risk exposure, as this vulnerability can also facilitate reconnaissance for more advanced attacks. Since SSRF attacks can be used to bypass firewalls and other network security controls, immediate remediation is necessary. Updating to Axios version 1.7.4 or implementing strict input validation is recommended.

REFERENCES

Solution Advice
  • Update Axios to version 1.7.4 or later to fix the SSRF vulnerability.
  • Implement strict validation of user-supplied URLs before making requests.
  • Restrict outbound HTTP requests to trusted domains and internal services.
  • Use network segmentation to prevent unauthorized internal requests.
  • Deploy web application firewalls (WAF) with SSRF protection capabilities.
  • Monitor application logs for unusual request behavior that may indicate SSRF exploitation.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2024-39338 Scanner - Server-Side Request Forgery (SSRF) vulnerability in Axios | S4E