CVE-2025-44137
BaseFortify
Publication date: 2025-07-29
Last updated on: 2025-08-06
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| maptiler | tileserver_php | 2.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-44137 is a directory traversal vulnerability in MapTiler Tileserver-php version 2.0. The vulnerability exists in the renderTile function within tileserver.php, which constructs file paths using user-supplied GET parameters (TileMatrix, TileRow, TileCol, and Format) without proper validation. This allows an attacker to insert '../' sequences in these parameters to traverse directories and read arbitrary files on the server that should not be accessible via the web. [1, 2]
How can this vulnerability impact me? :
This vulnerability can allow an unauthenticated attacker to read any file on the web server by manipulating the tile request parameters. This could lead to exposure of sensitive information such as configuration files, credentials, or other private data stored on the server, potentially compromising the security and privacy of the system. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring web requests to the tileserver.php endpoint for suspicious directory traversal patterns in the GET parameters TileMatrix, TileRow, TileCol, and especially Format. For example, look for requests containing '../' sequences or attempts to access sensitive files like /etc/passwd. A simple detection command using curl to test the vulnerability could be: curl -v "http://<server>/tileserver.php/x/1/1/1?Format=/../../../../../../../../../../../../../../etc/passwd&Request=x&layer=" If the server responds with the contents of the file, the vulnerability is present. Network intrusion detection systems (NIDS) can also be configured to alert on such directory traversal patterns in HTTP requests. [2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include applying strict input validation on the affected GET parameters (TileMatrix, TileRow, TileCol, Format) to disallow directory traversal sequences such as '../'. Additionally, ensure that the server verifies that the resolved file path is within the intended directory before serving files. Updating to a patched version of tileserver-php that includes these fixes is recommended. As a temporary measure, restricting access to the tileserver.php endpoint or implementing web application firewall (WAF) rules to block requests containing directory traversal patterns can help reduce risk. [1]