Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious toggle-route link
-
DeliveryLure signed-in admin to open it
-
ExploitInject SQL via unvalidated name parameter
-
ExecutionEnable passwordless proxy-auth admin access
-
ImpactAuthenticate as administrator via headers
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an active HortusFox deployment (prior to / at 6.2) and a signed-in administrator who opens an attacker-crafted top-level GET link to /admin/environment/boolean/toggle with a malicious 'name' query parameter - this is the exact 'if the administrator opens a crafted link' condition and the primary limiter (CVSS UI:R). No attacker authentication is required (PR:N): any unauthenticated visitor who can deliver the link suffices, though having a low-privileged account makes staging easier. The enabling misconfiguration is on the vendor side, not the operator's: the route is registered as ANY (GET-reachable) and AdminController performs no CSRF validation, so the admin session cookie is carried under the browser's default SameSite=Lax. The high-impact passwordless-takeover path additionally depends on the application's proxy-authentication feature, which the injection itself turns on (auth_proxy_enable=1 with attacker-chosen header names and empty whitelist). Limiting factors: success hinges on administrator interaction and an admin actively being signed in; there is no availability impact. |
| Impact | Signals point to a genuine but conditional priority rather than a drop-everything emergency. CVSS 3.1 is 8.1 (High) with AV:N/AC:L/PR:N/UI:R: network-reachable, low complexity, no attacker authentication, but requiring user interaction - specifically a signed-in administrator opening an attacker-crafted link (CWE-89 SQL injection delivered via CWE-352 CSRF). The GHSA advisory includes a detailed, logged proof-of-concept (Playwright scripts and raw output showing byte-for-byte admin bcrypt-hash exfiltration and a passwordless-admin takeover), so this is more than a theoretical write primitive; however, the input does not carry the 'Publicly available (confirmed)' PoC label, so it should be treated as a public PoC reference, not independently verified weaponized exploit code. KEV status is NOT listed (no confirmed active exploitation), and no EPSS score was provided, so widespread automated exploitation cannot be judged from the data - the vuln.today decision label is 'this_week', consistent with a serious-but-not-emergency triage. The practical risk ceiling is set by two limiters: the hard dependency on administrator interaction (UI:R), and the niche, self-hosted deployment footprint of HortusFox. There is also a version-labeling conflict worth verifying: the NVD description says 'Prior to 6.2 ... fixed in version 6.2,' while the GHSA advisory states the affected version IS 6.2 and the fix is also 6.2 (vulnerable <= 6.2) - verify the exact fixed build with the vendor before relying on an upgrade target. |
| Exploit ScenarioDerived | An attacker (an unprivileged registered user, or anyone able to reach an administrator through social engineering) crafts a cross-site top-level GET link to /admin/environment/boolean/toggle with a malicious 'name' parameter and lures a logged-in HortusFox administrator into opening it. Because the route is ANY and AdminController performs no CSRF validation, the admin's session cookie rides the request under default SameSite=Lax, and the injected identifier-position SQL sets auth_proxy_enable=1 with attacker-chosen email/username headers and an empty whitelist, after which the attacker authenticates as administrator from their own client by simply sending those HTTP headers. A detailed PoC reference demonstrating this end-to-end exists in the GHSA advisory; exploitation is low-complexity (AC:L) but gated on the one administrator click (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
SQL injection in HortusFox's admin environment-toggle handler lets an unauthenticated attacker who persuades a signed-in administrator to open a crafted link execute arbitrary SQL in the identifier position of an UPDATE statement - most critically flipping on the application's proxy-authentication settings to obtain persistent, passwordless administrator access, or using a subquery to pull the administrator's bcrypt hash into a rendered page. The flaw sits in AppModel::updateSingle(), which concatenates the request-supplied 'name' parameter into the SET column position, and it is reachable over GET because /admin/environment/boolean/toggle is registered as ANY and AdminController performs no CSRF validation, so a cross-site top-level navigation carries the administrator's session cookie under the browser's default SameSite=Lax. Impact is gated on that single administrator click (CVSS UI:R, PR:N), which makes this a conditional this-week priority rather than an emergency; no active exploitation is listed in CISA KEV, and the vendor advisory publishes a documented proof of concept with reproduction steps and test output rather than confirmed weaponized exploit code.
RemediationAI
Upgrade to the vendor-released fixed version, HortusFox 6.2 (release tag v6.2, https://github.com/danielbrendel/hortusfox-web/releases/tag/v6.2), which contains commit 71c5c9bdb0485cb453b720f6bb12e1095dd05dd5; that change introduces AppModel::$allowed_attributes plus validateAttribute(), rejecting any column name outside the whitelist before the UPDATE is constructed, and upgrading is the only complete fix described by the vendor. If upgrading cannot be done immediately, the actionable compensating control is to block external GET access to /admin/environment/boolean/toggle at the reverse proxy or WAF - this removes the cross-site top-level navigation delivery vector, but it also breaks the legitimate admin UI that toggles boolean environment settings, so scope the rule narrowly or gate the path behind network allowlisting; alternatively require POST-only for that path at the proxy, which must be validated against the application's own routing before relying on it. Because the injection can rewrite auth_proxy_* settings, operators of any instance that ran unpatched should inspect AppModel for unexpected auth_proxy_enable, auth_proxy_header_email, auth_proxy_header_username and auth_proxy_whitelist values, disable proxy authentication if it was not intentionally enabled, and review administrator sessions; the exfiltrated credential is a $2y$10$ bcrypt hash, so it cannot be used for direct login, but rotating the administrator password is still warranted where settings were altered. The vendor advisory at https://github.com/danielbrendel/hortusfox-web/security/advisories/GHSA-8rwp-2337-54mm documents the PoC and should be consulted alongside the upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HortusFox is a self-hosted PHP application (Composer package danielbrendel/hortusfox-web, CPE cpe:2.3:a:danielbrendel:hortusfox-web) built on the Asatru PHP framework and using PDO for database access. The root cause is CWE-89 in the identifier (column-name) position rather than in a value slot: AppModel::updateSingle() builds the statement as 'UPDATE @THIS SET ' . $name . ' = ?', where the value is a properly bound PDO parameter and therefore not injectable, but $name is concatenated with no whitelist or escaping. AdminController::toggle_boolean_value() passes the raw 'name' query parameter straight into that sink, and because app/config/routes.php registers /admin/environment/boolean/toggle as ANY, a GET request suffices. Source review shows this is the only reachable injection point - every other updateSingle() caller uses a hardcoded identifier literal. The missing control on the delivery side is CWE-352: AdminController never instantiates the framework's PostValidator, so no CSRF token is required, and a top-level cross-site GET navigation still carries the administrator's session cookie under SameSite=Lax. Injected expressions can evaluate arbitrary SQL and subqueries; the demonstrated chain writes the administrator bcrypt hash into the 'workspace' column for disclosure in the rendered page, and rewrites auth_proxy_enable, auth_proxy_header_email, auth_proxy_header_username and auth_proxy_whitelist in one request to install a header-based authentication backdoor. The trigger for the underlying injection is a query parameter on a GET-reachable admin route; no memory-safety or timing element is involved. The fix in commit 71c5c9bdb0485cb453b720f6bb12e1095dd05dd5 adds a static $allowed_attributes whitelist to AppModel and a validateAttribute() method that throws when a name falls outside it, validating before the raw UPDATE is built.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Network-delivered CSRF+SQLi needing no attacker auth (PR:N) but an admin click (UI:R); reads DB contents (C:H) and modifies settings for passwordless admin (I:H); no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
HortusFox is a self-hosted web application for collaborative plant management. Prior to 6.2, the toggle_boolean_value() handler in app/controller/admin.php passes the name parameter of the /admin/environment/boolean/toggle route in app/config/routes.php to AppModel::updateSingle() in app/models/AppModel.php, which concatenates the parameter into the SQL UPDATE identifier position without validation. An unauthenticated attacker can induce a signed-in administrator to open a crafted link, causing SQL injection that permits expressions and subqueries to read database contents, including an administrator password hash, or modify settings to enable passwordless administrator access. The hash alone does not permit direct login. This issue is fixed in version 6.2.
Technical POC Analysis
CWE-89 (SQL injection), with CWE-352 as the delivery vector.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
HortusFox contains a high-severity SQL injection flaw in its admin environment-toggle handler that could allow an unauthenticated attacker to gain persistent, passwordless administrator access to the application if an administrator is tricked into clicking a crafted link. This affects the integrity and confidentiality of the entire HortusFox instance, since a successful attack can compromise administrator credentials and authentication settings, undermining trust in the platform's access controls. Leadership should care because exploitation requires only one administrator interaction, turning a routine web click into potential full administrative takeover.
No vendor-released patch identified at time of analysis. Interim mitigations: block or restrict access to /admin/environment/boolean/toggle at the reverse proxy/WAF; enforce SameSite=Strict and secure cookie attributes; add CSRF protections at the perimeter; deploy WAF rules to reject SQL metacharacters on admin endpoints; continuously monitor administrative configuration and authentication changes for signs of tampering.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-134187
NVD
CVE.org
EPSS
GitHub
Exploit-DB