This vulnerability can be exploited remotely over the network, without logging in, with user interaction.
A successful attack has high impact: modifying data, crashing the system or making it unavailable.
Weakness type: Incorrect authorization.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official description
DBHub is a database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite. Prior to 0.22.6, read-only SQL validation can be bypassed on the MySQL and MariaDB connectors. In `src/utils/sql-parser.ts`, `scanSingleLineComment` treats every double dash as a comment start, whereas MySQL and MariaDB require following whitespace, a control character, or the end of the line. The read-only check in `src/tools/execute-sql.ts` validates split statements with `isReadOnlySQL`, but `src/connectors/mysql/index.ts` and `src/connectors/mariadb/index.ts` execute the original string with `multipleStatements` enabled. A double dash followed by a non-whitespace character can therefore hide a subsequent write or destructive DDL statement from the validator while the database interprets the dashes as minus operators and executes both statements. Anyone able to influence the assistant's SQL, including through prompt injection in content the assistant reads, can bypass read-only mode to modify or drop database data, subject to the database account's privileges. PostgreSQL is not affected by this path because its double-dash parsing agrees with the checker and its connector executes individual split statements. This issue is fixed in version 0.22.6.
A vulnerability was identified in Moonshot AI Kimi Code up to 2.5.2. Affected is the function AgentToolPolicyService of the file packages/agent-core-v2/src/agent/toolPolicy/toolPolicyService.ts of the component Tool…
A vulnerability was determined in Twigpine Zero up to 0.14.0. This impacts the function LoadConfig of the file internal/hooks/hooks.go. This manipulation causes improper authorization. It is possible to launch the…
In Apache Airflow 2.4.0 through 3.3.x, an authenticated user who may read only some Dags could see Dag runs of other Dags through the asset events API. The asset events returned by `GET /api/v2/assets/events` (`GET…
A vulnerability has been found in ApodexAI FrontierAgent up to 0.1.0. The impacted element is the function PermissionStore.load of the file apodex/permissions.py. The manipulation leads to improper authorization. An…
A flaw was found in 389 Directory Server. The Virtual List View (VLV) candidate-list construction evaluates LDAP search filters without enforcing attribute access controls, then publishes the resulting candidate count…
A flaw was found in FreeIPA. A directory principal holding only the right to add new entries in the directory can create a Kerberos service principal configured for unconstrained delegation that remains fully…