---------------------------------------------------------------------- Follow Secunia on Twitter http://twitter.com/secunia ---------------------------------------------------------------------- TITLE: LineWeb File Inclusion and Security Bypass SECUNIA ADVISORY ID: SA38105 VERIFY ADVISORY: http://secunia.com/advisories/38105/ DESCRIPTION: Ignacio Garrido has discovered some vulnerabilities in LineWeb, which can be exploited by malicious people to disclose sensitive information and bypass certain security restrictions. 1) Input passed to the "op" parameter in index.php and admin/index.php is not properly sanitised before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks and URL-encoded NULL bytes. Successful exploitation requires that "magic_quotes_gpc" is disabled. 2) The application allows unrestricted access to the admin/add_news.php, admin/delete_downloads.php, admin/edit_ads.php, admin/edit_downloads.php, and admin/edit_news.php scripts. This can be exploited to e.g. add new news articles, delete downloads, edit ads, edit downloads, or edit news articles. The vulnerabilities are confirmed in version 1.0.5. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly verified. Restrict access to the admin/add_news.php, admin/delete_downloads.php, admin/edit_ads.php, admin/edit_downloads.php, and admin/edit_news.php scripts (e.g. via .htaccess). PROVIDED AND/OR DISCOVERED BY: Ignacio Garrido ORIGINAL ADVISORY: http://archives.neohapsis.com/archives/bugtraq/2010-01/0022.html ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users 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 ----------------------------------------------------------------------