Opis (engleski)
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.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Put napada
- Preko mreže (s interneta)
- Složenost napada
- Niska
- Potrebne ovlasti
- Bez prijave
- Interakcija korisnika
- Potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Visok utjecaj
- Integritet
- Visok utjecaj
- Dostupnost
- Bez utjecaja
Vrsta slabosti (CWE)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- CWE-352 Cross-Site Request Forgery
Reference
- github.com/danielbrendel/hortusfox-web/security/advisories/GHSA-8rwp-2337-54mm
- github.com/danielbrendel/hortusfox-web/commit/71c5c9bdb0485cb453b720f6bb12e1095dd05dd5
- github.com/danielbrendel/hortusfox-web/releases/tag/v6.2
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.