CVE-2025-52815
BaseFortify
Publication date: 2025-06-27
Last updated on: 2026-04-23
Assigner: Patchstack
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-98 | The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Local File Inclusion (LFI) issue in the WordPress CityGov theme (versions up to 1.9). It allows an unauthenticated attacker to include and display local files from the target website. This can expose sensitive information such as database credentials and potentially lead to a complete database takeover depending on the website's configuration. It is classified under OWASP Top 10 category A3: Injection. [1]
How can this vulnerability impact me? :
The impact of this vulnerability includes unauthorized access to sensitive files on the server, exposure of confidential information like database credentials, and potentially a full database takeover. This can compromise the integrity, confidentiality, and availability of the affected website and its data. The vulnerability has a high severity score (CVSS 8.1) and is expected to be widely exploited. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection of this Local File Inclusion (LFI) vulnerability can involve monitoring for exploitation attempts that try to include local files via the vulnerable PHP include/require statements. While no specific commands are provided, Patchstack recommends professional incident response and server-side malware scanning to detect compromise. Network monitoring for suspicious HTTP requests attempting to include local files (e.g., requests with parameters referencing local paths) can help identify exploitation attempts. Using web server logs to search for unusual requests targeting the CityGov theme files may also assist in detection. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include applying the virtual patch (vPatch) provided by Patchstack, which blocks exploitation attempts until an official update is released. Since no official fix or patched version is currently available, applying this virtual patch is the recommended action. Additionally, it is advised to perform professional incident response and server-side malware scanning if compromise is suspected. Monitoring and restricting access to vulnerable endpoints and keeping backups are also prudent measures. [1]