PhotoPost Pro多个输入验证漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1108585 漏洞类型 跨站脚本
发布时间 2005-03-28 更新时间 2006-09-27
CVE编号 CVE-2005-0928 CNNVD-ID CNNVD-200505-670
漏洞平台 PHP CVSS评分 4.3
|漏洞来源
https://www.exploit-db.com/exploits/25310
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200505-670
|漏洞详情
PhotoPostPHPPro5.x存在多个跨站脚本攻击漏洞,远程攻击者可以通过传到showgallery.php的(1)cat,(2)密码,(3)ppuser,(4)sort或(5)si参数,传到showmembers.php的(6)ppuser,(7)sort或(8)si参数,或者传到slideshow.php的(9)photo参数,注入任意Web脚本或HTML。
|漏洞EXP
source: http://www.securityfocus.com/bid/12920/info
  
Multiple input validation vulnerabilities reportedly affect PhotoPost Pro. These issues are due to a failure of the application to properly sanitize user-supplied input prior to using it to carry out critical actions.
  
The first set of issues are cross-site scripting vulnerabilities that affect the 'slideshow.php', 'showgallery.php', and 'showmembers.php' scripts. These issues arise as the application fails to properly sanitize input passed through the offending functions before including it in dynamically generated Web content.
  
The second set of issues are SQL injection vulnerabilities that affect the 'showmembers.php' and 'showphoto.php' scripts. The application includes the value of the offending parameters without sanitization, allowing an attacker to inject SQL syntax and manipulate SQL queries.
  
An attacker may leverage these issues to carry out cross-site scripting and SQL injection attacks against the affected application. This may result in the theft of authentication credentials, destruction or disclosure of sensitive data, and potentially other attacks.

http://www.example.com/photos/slideshow.php?photo=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E&amp%3bpassword=&amp%3bsort=1&amp%3bcat=502
|参考资料

来源:OSVDB
名称:15098
链接:http://www.osvdb.org/15098
来源:OSVDB
名称:15097
链接:http://www.osvdb.org/15097
来源:OSVDB
名称:15096
链接:http://www.osvdb.org/15096
来源:SECTRACK
名称:1013581
链接:http://securitytracker.com/id?1013581
来源:SECUNIA
名称:14742
链接:http://secunia.com/advisories/14742
来源:BUGTRAQ
名称:20050328MultipleSqlinjection,andmultipleXSSvulnerabilitiesinPhotopostPHPProPhotoGallerySoftware.
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=111205342909640&w=2