Miggo Logo

CVE-2019-12465: SQL Injection in LibreNMS

8.1

CVSS Score
3.1

Basic Information

EPSS Score
0.00262%
Published
10/11/2019
Updated
2/1/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
librenms/librenmscomposer< 1.531.53

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The CVE-2019-12465 description identifies ajax_rulesuggest.php as the vulnerable file where the 'term' parameter is unsafely embedded into a SQL query. Runtime detection would observe the script's execution (typically represented as the global scope in PHP) processing the 'term' input and constructing the SQL query. While PHP's global scope does not have a named function, profilers often reference the script's entry point as the primary execution context. This matches the exploit's entry vector via ajax_rulesuggest.php?term=, making the script's main code the focal point for detection.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*n issu* w*s *is*ov*r** in Li*r*NMS *.**.*. * SQL inj**tion *l*w w*s i**nti*i** in t** *j*x_rul*su***st.p*p *il* w**r* t** t*rm p*r*m*t*r is us** ins**ur*ly in * **t***s* qu*ry *or s*owin* *olumns o* * t**l*, *s **monstr*t** *y *n *j*x_rul*su***st.p*

Reasoning

T** *V*-****-***** **s*ription i**nti*i*s *j*x_rul*su***st.p*p *s t** vuln*r**l* *il* w**r* t** 't*rm' p*r*m*t*r is uns***ly *m****** into * SQL qu*ry. Runtim* **t**tion woul* o*s*rv* t** s*ript's *x**ution (typi**lly r*pr*s*nt** *s t** *lo**l s*op*