Jetbox CMS version 2.1 E-Mail Injection Vulnerability [2]

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1052957 漏洞类型
发布时间 2007-05-18 更新时间 2007-05-18
CVE编号 CVE-2007-2733
CVE-2007-2732
CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2007050064
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
hi there

jetbox cms is also vulnerable to severals xss GET:
http://127.0.0.1/jetbox/index.php/view/search/?path=[xss]
http://127.0.0.1/jetbox/index.php/view/supplynews/?companyname=[xss]
http://127.0.0.1/jetbox/index.php/view/supplynews/?companyname=1&country
=[xss]
http://127.0.0.1/jetbox/index.php/view/supplynews/?companyname=1&country
=1&email=[xss]
http://127.0.0.1/jetbox/index.php/view/supplynews/?companyname=1&country
=1&email=1&firstname=[xss]
http://127.0.0.1/jetbox/index.php/view/supplynews/?companyname=1&country
=1&email=1&firstname=1&middlename=[xss]http://127.0.0.1/jetbox/index.php
/view/supplynews/?companyname=1&country=1&email=1&firstname=1&middlename
=1&recipient=jetbox (at) localhost (dot) com [email concealed]&required=[xss]
http://127.0.0.1/jetbox/index.php/view/supplynews/?companyname=1&country
=1&email=1&firstname=1&middlename=1&recipient=jetbox (at) localhost (dot) com [email concealed]&requi
red=firstname,surname,email,companyname,country,workphone,title,topic,we
bsite,text&signupsubmit=true&subject=News&submit=Send&surname=[xss]
http://127.0.0.1/jetbox/index.php/view/supplynews/?companyname=1&country
=1&email=1&firstname=1&middlename=1&recipient=jetbox (at) localhost (dot) com [email concealed]&requi
red=firstname,surname,email,companyname,country,workphone,title,topic,we
bsite,text&signupsubmit=true&subject=News&submit=Send&surname=1&text=1&t
itle=[xss]

shell upload:
you can upload any kind of file if you have some authors privileges.
your file will be located here:
./jetbox/webfiles/yourfile.php

solution:
1) xss --> use: http://us.php.net/manual/en/function.htmlentities.php

2) upload script :
-->  allow only certains extension like :
txt,mp3,zip,rar,pdf,odt,doc...etc...

regards laurent gaffi.