Cobbler 2.6.0 Arbitrary File Read

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


Ogólna skala CVSS: 4/10
Znaczenie: 2.9/10
Łatwość wykorzystania: 8/10
Wymagany dostęp: Zdalny
Złożoność ataku: Niska
Autoryzacja: Jednorazowa
Wpływ na poufność: Częściowy
Wpływ na integralność: Brak
Wpływ na dostępność: Brak

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

Referencje:

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