Miggo Logo

CVE-2017-15367: Bacula-web SQL Injection Vulnerabilities

9.8

CVSS Score
3.0

Basic Information

EPSS Score
0.95878%
Published
5/14/2022
Updated
10/19/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
bacula-web/bacula-webcomposer< 8.0.0-rc28.0.0-rc2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The commit diff explicitly shows that 'client-report.php' improperly handled the 'period' parameter, enabling SQL injection. Exploit examples (e.g., Exploit-DB) and the CVE description confirm that 'pool_id' in jobs.php, 'client_id' in client-report.php, and parameters in backupjob-report.php were also vulnerable. These parameters were directly embedded into SQL queries without validation or parameterized queries, making them susceptible to injection. The high confidence stems from the explicit code fix for 'period', combined with documented exploit payloads and CVE/GHSA descriptions corroborating multiple injection vectors.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

***ul*-w** ***or* *.*.*-r** is *****t** *y multipl* SQL Inj**tion vuln*r**iliti*s t**t *oul* *llow *n *tt**k*r to ****ss t** ***ul* **t***s* *n*, **p*n*in* on *on*i*ur*tion, *s**l*t* privil***s on t** s*rv*r.

Reasoning

T** *ommit *i** *xpli*itly s*ows t**t '*li*nt-r*port.p*p' improp*rly **n*l** t** 'p*rio*' p*r*m*t*r, *n**lin* SQL inj**tion. *xploit *x*mpl*s (*.*., *xploit-**) *n* t** *V* **s*ription *on*irm t**t 'pool_i*' in jo*s.p*p, '*li*nt_i*' in *li*nt-r*port.