Cobbler 2.6.0 Arbitrary File Read

2014.05.15
Credit: Dolev Farhi
Risk: High
Local: No
Remote: Yes
CWE: CWE-200


CVSS Base Score: 4/10
Impact Subscore: 2.9/10
Exploitability Subscore: 8/10
Exploit range: Remote
Attack complexity: Low
Authentication: Single time
Confidentiality impact: Partial
Integrity impact: None
Availability impact: None

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

References:

https://www.youtube.com/watch?v=vuBaoQUFEYQ
http://cxsecurity.com/issue/WLB-2014050043


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top