## Title: new-mvc-shop-1.0 - SQLi + SameSite attribute weak security
## Author: nu11secur1ty
## Vendor:
## Software:
## Reference:

## Description:
The `User-Agent` HTTP header appears to be vulnerable to SQL injection
attacks. The payload '+(select
was submitted in the User-Agent HTTP header. This payload injects a
SQL sub-query that calls MySQL's load_file function with a UNC file
path that references a URL on an external domain. The application
interacted with that domain, indicating that the injected SQL query
was executed. The attacker can retrieve all information from the
database of this system.
The following cookie was issued by the application and does not have
the secure flag set:
PHPSESSID: The cookie appears to contain a session token, which may
increase the risk associated with this issue.
The malicious user can use one PHPSESSID to connect multiple times on
the system using the same account session.

STATUS: HIGH Vulnerability

Parameter: User-Agent (User-Agent)
    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8)
Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)' AND (SELECT
2825 FROM (SELECT(SLEEP(15)))VKYP)-- kuoe


## Reproduce:

## Proof and Exploit:

## Time spend: