CVE-2025-56556
PHP vulnerability analysis and mitigation

Overview

An issue was discovered in Subrion CMS 4.2.1 that allows authenticated administrators or moderators with access to the built-in Run SQL Query feature under the SQL Tool admin panel to gain escalated privileges. The vulnerability was disclosed on September 11, 2025, and has been assigned CVE-2025-56556. The vulnerability has received a CVSS v3.1 base score of 6.5 (Medium) (NVD).

Technical details

The vulnerability exists in the SQL Tool admin panel's query execution feature where moderator-level users can execute unrestricted SQL queries, including Data Definition Language (DDL) and privileged operations. The issue stems from improper access control mechanisms that fail to restrict the types of SQL queries that can be executed by moderator roles. The CVSS vector string is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N, indicating network accessibility with low attack complexity (AttackerKB).

Impact

The vulnerability allows attackers with moderator-level access to escalate privileges to full MySQL root-equivalent access, add or remove users in the database, and delete entire database tables. This could lead to complete database compromise and unauthorized administrative access (GitHub Issue).

Mitigation and workarounds

The recommended mitigations include implementing role-based query restrictions to prevent moderator roles from executing high-privilege queries such as CREATE USER, GRANT, DROP USER, and DROP TABLE. Additionally, implementing a whitelist-based query filter that only allows predefined safe SQL statements (SELECT, INSERT, UPDATE, SET, WHERE, ORDER BY, GROUP BY, LIMIT, !=, LIKE) is advised (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-9v82-vcjx-m76jHIGH8.8
  • PHPPHP
  • shopware/core
NoYesSep 10, 2025
CVE-2025-56556MEDIUM6.5
  • PHPPHP
  • intelliants/subrion
NoNoSep 11, 2025
CVE-2025-52277MEDIUM6.1
  • PHPPHP
  • yeswiki/yeswiki
NoNoSep 09, 2025
CVE-2025-58759MEDIUM5.1
  • PHPPHP
  • datahihi1/tiny-env
NoYesSep 09, 2025
CVE-2025-58758MEDIUM5.1
  • PHPPHP
  • datahihi1/tiny-env
NoYesSep 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management