CVE-2026-43936
Local File Inclusion in e107 CMS
Publication date: 2026-05-26
Last updated on: 2026-05-26
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| e107inc | e107 | to 2.3.4 (inc) |
| e107inc | e107 | to 2.3.4 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-918 | The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Server-Side Request Forgery (SSRF) issue in the e107 content management system (CMS) versions prior to 2.3.4. It allows an attacker with administrator access to specify a URL in the Media Manager's "From a remote location" file upload feature that points to local or private network addresses. Due to improper validation, the system could be tricked into accessing internal resources by bypassing IP range checks, especially through IPv4-mapped IPv6 addresses.
The root cause was that PHP's IP validation functions did not correctly handle IPv4-mapped IPv6 addresses, allowing attackers to evade restrictions on private, loopback, and reserved IP ranges. This enabled unauthorized access to the local environment by specifying URLs like http://localhost or other private IPs.
The vulnerability was fixed in version 2.3.4 by introducing stricter URL validation, including canonicalizing IPv4-mapped IPv6 addresses to their IPv4 form before checking, blocking non-HTTP(S) protocols, and rejecting unsafe URLs before processing.
How can this vulnerability impact me? :
This vulnerability can impact you by allowing an attacker with administrator privileges to perform unauthorized actions such as port scanning and reconnaissance of your local or internal network environment.
Specifically, an attacker could use the Media Manager's remote file import feature to probe open ports and potentially retrieve sensitive information from internal services that are not normally accessible from outside the network.
While the CVSS score is moderate (4.3), the risk involves unauthorized access to internal resources, which could lead to further exploitation or information disclosure within your network.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability involves Server-Side Request Forgery (SSRF) through the e107 CMS Media Manager's remote file import feature, allowing access to local environment URLs. Detection involves monitoring for unusual or unauthorized requests originating from the administrator interface that specify local or private IP addresses.
To detect exploitation attempts, you can look for HTTP requests or logs where URLs contain local IP addresses such as 127.0.0.1, localhost, or private IP ranges (e.g., 192.168.x.x, 10.x.x.x) being used in the 'Image/File URL' field in the Media Manager.
Suggested commands to detect suspicious activity include:
- Check web server access logs for requests containing local or private IP addresses in URL parameters: `grep -E 'localhost|127\.0\.0\.1|192\.168\.|10\.' /var/log/apache2/access.log`
- Monitor outgoing HTTP requests from the server to local or private IPs using network tools like tcpdump or netstat, for example: `sudo tcpdump -i eth0 dst net 127.0.0.0/8 or dst net 192.168.0.0/16 or dst net 10.0.0.0/8`
- Audit application logs or enable debugging in e107 to track remote file import attempts specifying local URLs.
What immediate steps should I take to mitigate this vulnerability?
The primary mitigation is to upgrade the e107 CMS to version 2.3.4 or later, where the vulnerability is fixed by properly validating and blocking local, private, and reserved IP addresses in remote URL imports.
If upgrading immediately is not possible, you should:
- Block access to local and private IP addresses in the configuration or firewall to prevent the CMS from making requests to these addresses.
- Restrict remote file fetching protocols to HTTP and HTTPS only, preventing use of other protocols that could bypass restrictions.
- Implement or enable URL validation functions similar to `e_file::isUrlSafe()` that check for unsafe URLs before processing remote file imports.
These steps prevent attackers from exploiting the SSRF vulnerability to perform port scans or access sensitive local network resources through the Media Manager.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The SSRF vulnerability in e107 CMS allows authenticated administrators to access local environment URLs and perform port scanning or retrieve sensitive information from internal services. This unauthorized access to internal network resources could lead to exposure of sensitive data.
Such exposure and unauthorized access may impact compliance with standards and regulations like GDPR and HIPAA, which require protection of sensitive personal and health information. If internal data is accessed or exfiltrated due to this vulnerability, it could result in violations of data protection requirements.
Mitigation by upgrading to version 2.3.4, which restricts access to private, loopback, and reserved IP ranges, helps reduce the risk of unauthorized internal access and supports compliance efforts.