========================================================================== Vulnerable Software: osFileManager_2.2 ========================================================================== Official site:http://www.osfilemanager.com/ # md5sum *.zip df708d52ab2a50aa20fa9c6d779bc979 *osFileManager_2.2.zip ========================================================================== About Software: ========================================================================== osFileManager is an open source file management script written in PHP. Includes User CP, Admin CP, and many basic file creation/modifying tools. File Functions include: List, Open, View, Edit, Create, Upload, Rename and Move. User Functions include: Change password, and Change color scheme. Admin Functions include: New user, Edit user, Delete user. Looks Nice: http://www.osfilemanager.com/screenshots.html ========================================================================== Vuln Desc: osFileManager 2.2 suffers from multiple CROSS SITE SCRIPTING and CROSS SITE REQUEST forgery vulnerabilities. I noticed many peoples uses osFileManager 2.2 So Just beaware: XSS (Non persistent XSS) /index.php?p=home&d= /* CSRF Delete admin */ /index.php?p=deleteuser&muid=1 Where 1 means user id Due insufficent sanitization *users administration* section also prone to Persistent CROSS SITE SCRIPTING(XSS) vulnerabilities Print Screen: http://s017.radikal.ru/i407/1203/d2/1db7ba7bd6a2.png (Username & Server Directory inputboxes) And can be mixed with CSRF POC (in eg: to deface /index.php?p=users sections) What is funny This FileManager Saves username and password "pair" in cookie which is totally wrong thing especially about *passwords*(sensitive data) (See print screen) Once cookies stealed ... you know what's this means. ========================== CSRF ADD ADMIN ====================================================================
Username: Name: Password: Email: Server Directory: Http Directory: (*)
========================== EOF CSRF ADD ADMIN ================================================================= What is another issuse do you know? It's users.sql comes defaultly with 2 users: -- -- Dumping data for table `osfm_users` -- INSERT INTO `osfm_users` VALUES(1, 'admin', '5f4dcc3b5aa765d61d8327deb882cf99', 'you@email.com', 'Admin', './', '', '20081005234859', '999999999999999999999', 'classic', 'english', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0); INSERT INTO `osfm_users` VALUES(2, 'root', '5f4dcc3b5aa765d61d8327deb882cf99', 'you@email.com', 'root', '.', '', '20081005222012', '500000', 'classic', 'english', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0); login: root pass: password And the second one: username: admin password: password During 4-5 minutes googling about it(xxxxx) i found 8 sites which uses same usernames and passwords!!!(Which allows file uploads,file editings,steal database credentials cos it stores database credentials in index.php ---- In one word: "Paradise") Theris also a lot of *unitialized* variables which causes E_NOTICE and E_WARNING's which can be classified as Info and Path Disclosure. I hope developer(s)(http://www.osfilemanager.com/ && http://www.arzy.net/) will fix this all this issuses ASAP.Amin! ======================================= EOF ==================================================================== /AkaStep