Some vulnerabilities have been discovered in Fretsweb, which can be exploited by malicious people to disclose potentially sensitive information or conduct SQL injection attacks.
1) Input passed via the "language" parameter or via the "fretsweb_language" cookie through admin/common.php to various pages (e.g. charts.php, players.php, songs.php) is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks.
2) Input passed to the "name" parameter in player.php and to the "hash" parameter in song.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerabilities are confirmed in version 1.2. Other versions may also be affected.
Solution: Reportedly fixed in version 1.3.
Provided and/or discovered by: YEnH4ckEr
Original Advisory: http://milw0rm.com/exploits/8979
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: Fretsweb File Inclusion and SQL Injection Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.