---------------------------------------------------------------------- Want a new job? http://secunia.com/secunia_security_specialist/ http://secunia.com/hardcore_disassembler_and_reverse_engineer/ ---------------------------------------------------------------------- TITLE: K-Rate Premium Multiple Vulnerabilities SECUNIA ADVISORY ID: SA31548 VERIFY ADVISORY: http://secunia.com/advisories/31548/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Manipulation of data, Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: K-Rate Premium http://secunia.com/product/19667/ DESCRIPTION: Corwin has discovered some vulnerabilities in K-Rate Premium, which can be exploited by malicious users to compromise a vulnerable system, and by malicious people and users to conduct script insertion and SQL injection attacks. 1) Input passed to the "show" parameter (when "req" is set to "online") and "id" and "image" (when "act" is set to "vote") in index.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 "id" parameter in index.php (when "req" is set to "blog_edit") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation of this vulnerability allows e.g. retrieval of administrator usernames and password hashes, but requires valid user credentials and knowledge of the database table prefix. 3) Input passed to the "Your Message" form field in "Forums: Post A New Thread" is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious data is viewed. 4) Input passed to the "Title" and "Text" form fields in "Blog: Post A New Entry" and "Description" in "Your Pictures" is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious data is viewed. Successful exploitation of this vulnerability requires valid user credentials. 5) Input passed as template data to "Manage Templates" is not properly sanitised before being stored. This can be exploited to execute arbitrary PHP code. Successful exploitation of this vulnerability requires valid administrator credentials. SOLUTION: Edit the source code to ensure that input is properly sanitised. Grant administrator access to trusted users only. PROVIDED AND/OR DISCOVERED BY: Corwin ORIGINAL ADVISORY: http://milw0rm.com/exploits/6312 ---------------------------------------------------------------------- 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/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/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 ----------------------------------------------------------------------