PHP/MYSQL Timesheet多个SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1196057 漏洞类型 SQL注入
发布时间 2006-02-15 更新时间 2007-11-05
CVE编号 CVE-2006-0692 CNNVD-ID CNNVD-200602-211
漏洞平台 N/A CVSS评分 7.5
|漏洞来源
https://cxsecurity.com/issue/WLB-2006020057
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200602-211
|漏洞详情
CareyBriggsPHP/MYSQLTimesheet1和2中存在多个SQL注入漏洞。远程攻击者可以借助(a)index.php和(b)changehrs.php中的(1)yr、(2)month、(3)day和(4)job参数执行任意SQL命令。
|漏洞EXP
New eVuln Advisory:
PHP/MYSQL Timesheet Multiple SQL Injection Vulnerabilities
http://evuln.com/vulns/67/summary.html

--------------------Summary----------------
eVuln ID: EV0067
Software: PHP/MYSQL Timesheet
Sowtware's Web Site: http://www.geocities.com/night247/
Versions: V1, V2
Critical Level: Moderate
Type: SQL Injection
Class: Remote
Status: Unpatched. No reply from developer(s)
Exploit: Available
Solution: Not Available
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)

-----------------Description---------------
Vulnerable scripts:
index.php
changehrs.php

Variables $yr $month $day $job are not properly sanitized before being used in a SQL query. This can be used to make any SQL query by injecting arbitrary SQL code.

Condition: magic_quotes_gpc - off

--------------Exploit----------------------
Available at: http://evuln.com/vulns/67/exploit.html

--------------Solution---------------------
No Patch available.

--------------Credit-----------------------
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)

Regards,
Aliaksandr Hartsuyeu
http://evuln.com - Penetration Testing Services
|参考资料

来源:XF
名称:phpmysqltimesheet-multiple-sql-injection(24567)
链接:http://xforce.iss.net/xforce/xfdb/24567
来源:BID
名称:16620
链接:http://www.securityfocus.com/bid/16620
来源:BUGTRAQ
名称:20060217[eVuln]PHP/MYSQLTimesheetMultipleSQLInjectionVulnerabilities
链接:http://www.securityfocus.com/archive/1/archive/1/425316/100/0/threaded
来源:VUPEN
名称:ADV-2006-0522
链接:http://www.frsirt.com/english/advisories/2006/0522
来源:MISC
链接:http://www.evuln.com/vulns/67/summary.html
来源:SECUNIA
名称:18822
链接:http://secunia.com/advisories/18822
来源:SREASON
名称:451
链接:http://securityreason.com/securityalert/451