Lucene search

K
packetstormDolev FarhiPACKETSTORM:126607
HistoryMay 13, 2014 - 12:00 a.m.

Cobbler 2.6.0 Arbitrary File Read

2014-05-1300:00:00
Dolev Farhi
packetstormsecurity.com
18

0.029 Low

EPSS

Percentile

89.7%

`Vulnerability title: Arbitrary file read   
  
CVE: CVE-2014-3225  
  
Vendor: Cobbler  
  
Product: Cobbler  
  
Affected version: <=2.6.0  
  
Fixed version: N/A  
  
Reported by: Dolev Farhi  
  
  
  
  
----------------------------  
VULNERABILITY Details:  
----------------------------  
In all Cobbler versions (<= 2.6.0) an arbitrary system files read  
vulnerability is possible via the cobbler profile creation page.  
Cobbler does not validate the file is a .ks file nor does it restrict the  
user to a certain path.  
Cobbler runs under the root user privileges, which allows read access to all  
system files.  
This issue exposes all files to any attacker attempting to provide full file  
path to crucial system files such as /etc/passwd or /etc/shadow in the  
Kickstart path.  
https://github.com/cobbler/cobbler/issues/939  
  
  
  
--------------------  
Proof of concept  
--------------------  
Create a regular cobbler profile, assign a distribution to it.  
In kickstart value, provide /etc/shadow or any other file.  
Save -> navigate to "View kickstart" -> file is shown.  
  
------------------------------  
PROOF OF CONCEPT vid  
------------------------------  
https://www.youtube.com/watch?v=vuBaoQUFEYQ  
`

0.029 Low

EPSS

Percentile

89.7%