Miggo Logo

CVE-2021-26830: SQL Injection in tribalsystems/zenario

9.1

CVSS Score
3.1

Basic Information

EPSS Score
0.76965%
Published
3/18/2022
Updated
7/6/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
tribalsystems/zenariocomposer< 8.8.533708.8.53370

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability description explicitly states SQL injection occurs via the 'ID' parameter in ajax.php's plugin deletion module. While the exact function name isn't visible in provided code snippets, Zenario's architecture suggests organizer.ajax.php handles admin actions like plugin deletion. The exploit requires admin privileges and manipulates the ID parameter during deletion, matching SQL injection patterns in DELETE operations. The CVE details and exploit write-ups confirm unsanitized ID input reaches SQL queries. The commit 2c82a4d fixes 'security vulnerabilities in admin mode' which aligns with this functionality.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

SQL Inj**tion in Tri**lsyst*ms Z*n*rio *MS *.*.***** *n* prior *llows r*mot* *tt**k*rs to ****ss t** **t***s* or **l*t* t** plu*in. T*is is ***omplis*** vi* t** `I*` input *i*l* o* *j*x.p*p in t** `Pu*in li*r*ry - **l*t*` mo*ul*.

Reasoning

T** vuln*r**ility **s*ription *xpli*itly st*t*s SQL inj**tion o**urs vi* t** 'I*' p*r*m*t*r in `*j*x.p*p`'s plu*in **l*tion mo*ul*. W*il* t** *x**t *un*tion n*m* isn't visi*l* in provi*** *o** snipp*ts, Z*n*rio's *r**it**tur* su***sts `or**niz*r.*j*x