Community
Participate
Working Groups
Greetings eclipse, My name is Muhammad Shahmeer and i am security researcher from Pakistan. I have found a very critical and dangerous SQL injection vulnerability in your website that can be used to compromise your database. I am a white hat hacker. So i am reporting this vulnerability to you. Following are the details of the vulnerability i have found. Url http://www.eclipse.org/membership/scripts/get_image.php?size=(SELECT CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97)))&id=655 Extracted Data 5.0.67-log Parameter Name size Parameter Type Querystring Attack Pattern (SELECT CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97))) Vulnerability Details I have identified an SQL injection, which occurs when data input by a user is interpreted as an SQL command rather than as normal data by the backend database. This is an extremely common vulnerability and its successful exploitation can have critical implications. I have confirmed the vulnerability by executing a test SQL query on the backend database. Impact Depending on the backend database, the database connection settings and the operating system, an attacker can mount one or more of the following type of attacks successfully: Reading, updating and deleting arbitrary data or tables from the database Executing commands on the underlying operating system Actions to Take See the remedy for solution. If you are not using a database access layer (DAL), consider using one. This will help you centralize the issue. You can also use ORM (object relational mapping). Most of the ORM systems use only parameterized queries and this can solve the whole SQL injection problem. Locate all of the dynamically generated SQL queries and convert them to parameterized queries. (If you decide to use a DAL/ORM, change all legacy code to use these new libraries.) Use your weblogs and application logs to see if there were any previous but undetected attacks to this resource. Remedy A robust method for mitigating the threat of SQL injection-based vulnerabilities is to use parameterized queries (prepared statements). Almost all modern languages provide built-in libraries for this. Wherever possible, do not create dynamic SQL queries or SQL queries with string concatenation. Required Skills for Successful Exploitation There are numerous freely available tools to exploit SQL injection vulnerabilities. This is a complex area with many dependencies; however, it should be noted that the numerous resources available in this area have raised both attacker awareness of the issues and their ability to discover and leverage them. SQL injection is one of the most common web application vulnerabilities. As a POC i have attached a screenshot which i believe is the name of your database. This is a very critical vulnerability which i believe should be addressed immediately. I will be waiting for your reply and please do tell me that do i qualify for a reward or not for reporting this vulnerability. -- With regards Muhammad Shahmeer Maads-security
Fixed: https://git.eclipse.org/c/www.eclipse.org/membership.git/commit/?id=e8df0e0e980a8d368cd2ed768a97f0dcaf41e19b