Lucene search
K

NASA Tri-Agency Climate Education (TrACE) v1.0 SQL Injection Vulnerability

🗓️ 26 Oct 2012 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 27 Views

NASA TrACE v1.0 SQL Injection Vulnerability - Exploitable SQL injection in 'trace_results.php' allows manipulation of dat

Code
<html><body><p>NASA Tri-Agency Climate Education (TrACE) v1.0 SQL Injection Vulnerability


Vendor: NASA
Product web page: http://www.nasa.gov
Affected version: 1.0

Summary: The Tri-Agency Climate Education (TrACE) Catalog provides search and
browse access to a catalog of educational products and resources. TrACE focuses
on climate education resources that have been developed by initiatives funded
through NASA, NOAA, and NSF, comprising a tri-agency collaboration around
climate education.

Desc: The application suffers from an SQL Injection vulnerabilities when input
is passed to the 'product_id' and 'grade' GET parameters in 'trace_results.php'
script which is not properly sanitised before being returned to the user or used
in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary
SQL code.

Tested on: Apache/2.2.21
           PHP 5.2.17


Vulnerabilities discovered by Gjoko 'LiquidWorm' Krstic
                              @zeroscience
                              Zero Science Lab - http://www.zeroscience.mk


Vendor status:

[03.10.2012] Vulnerability discovered.
[03.10.2012] Initial contact with the vendor.
[04.10.2012] No reply from vendor.
[05.10.2012] Tried contacting the vendor again.
[12.10.2012] No reply from vendor.
[13.10.2012] Last try contacting the vendor.
[15.10.2012] Vendor replies stating that the problem is solved?!
[16.10.2012] Replied to vendor that no problems are solved because no details were sent nor problems explained.
[17.10.2012] Vendor decides to talk serious and asks for details, cynically.
[18.10.2012] Sent detailed information and PoC files to the vendor.
[22.10.2012] Asked vendor for status report.
[22.10.2012] No reply from vendor.
[23.10.2012] Vendor silently patches the application (v2.0).
[23.10.2012] Asked vendor to have proper communication.
[25.10.2012] No reply from vendor.
[25.10.2012] Pointed out to the vendor about disclosure policy and ethical communication.
[26.10.2012] Public security advisory released.


Advisory ID: ZSL-2012-5112
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2012-5112.php



03.10.2012



PoC:
----


https://www.example.com/trace/trace_results.php?product_id=117+union+all+select+concat(unhex(hex(cast(database()+as+char)))),2,3,4,5,6,7--
https://www.example.com/trace/trace_results.php?product_id=117&amp;project_id=40&amp;funder=31&amp;pi=43&amp;grade=99999.9+union+all+select+concat(unhex(hex(cast(database()+as+char)))),2,3,4,5,6,7--
</p></body></html>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation