Secunia Logo  
 
AvailScript Classmate Script SQL Injection and File Upload
Secunia Advisory: SA31813
Release Date: 2008-09-11
Last Update: 2008-12-15
Popularity: 768 views

Critical:
Highly critical
Impact: Manipulation of data
Exposure of sensitive information
System access
Where: From remote
Solution Status: Unpatched

Software:AvailScript Classmate Script

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-4375


Description:
Some vulnerabilities have been reported in AvailScript Classmate Script, which can be exploited by malicious users to conduct SQL injection attacks and compromise a vulnerable system.

1) Input passed via the "p" parameter in viewprofile.php is not properly sanitised before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) A vulnerability is caused due to the "Edit Profile" photo upload functionality not checking file extensions properly. This can be exploited to upload files with arbitrary extensions (e.g. ".php") and execute arbitrary PHP code on the server.

Solution:
Filter malicious characters and character sequences using a web proxy. Restrict the type of uploaded files.

Provided and/or discovered by:
1) Stack
2) S.W.A.T.

Changelog:
2008-10-07: Added CVE reference.
2008-12-15: Added vulnerability #2. Increased criticality.

Original Advisory:
1) http://milw0rm.com/exploits/6412
2) http://milw0rm.com/exploits/7457


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. MxBB Portal Mx At A Glance Module "mx_root_path" File Inclusion // 43 views
2. Public Media Manager "indir" File Inclusion // 42 views
3. Samba Root File System Access Security Issue // 35 views
4. Internet Explorer Data Binding Memory Corruption Vulnerability // 28 views
5. NPDS Multiple Vulnerabilities // 26 views
6. phpBB reveals user IPs // 25 views
7. Links SSL Verification Security Issue // 25 views
8. Destiny Media Player Playlist Processing Buffer Overflow // 23 views
9. Red Hat update for kernel // 21 views
10. Autoreminder "id" SQL Injection Vulnerability // 21 views