---------------------------------------------------------------------- Did you know that a change in our assessment rating, exploit code availability, or if an updated patch is released by the vendor, is not part of this mailing-list? Click here to learn more: http://secunia.com/advisories/business_solutions/ ---------------------------------------------------------------------- TITLE: Online Grades SQL Injection and Information Disclosure SECUNIA ADVISORY ID: SA33767 VERIFY ADVISORY: http://secunia.com/advisories/33767/ CRITICAL: Moderately critical IMPACT: Security Bypass, Manipulation of data, Exposure of system information WHERE: >From remote SOFTWARE: Online Grades 3.x http://secunia.com/advisories/product/21306/ DESCRIPTION: Some vulnerabilities and a security issue have been discovered in Online Grades, which can be exploited by malicious people to conduct SQL injection attacks and disclose sensitive information. 1) Input passed to the "uname" and "pword" parameters in admin/admin_login.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 2) Input passed to the "uname" and "pass" parameters in parents/login.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Vulnerabilities #1 and #2 can be exploited to bypass the authentication mechanism. Successful exploitation of vulnerabilities #1 and #2 require that "magic_quotes_gpc" is disabled. 3) The include/phpinfo.php script is stored with insecure permissions inside the web root. This can be exploited to gain knowledge of sensitive information (e.g. PHP configuration details) by requesting the file directly. The vulnerabilities and security issue are confirmed in version 3.2.4. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. Restrict access to the phpinfo.php script (e.g. using a ".htaccess" file). PROVIDED AND/OR DISCOVERED BY: 1) An anonymous person. 2) x0r ORIGINAL ADVISORY: http://milw0rm.com/exploits/7956 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------