Exploit databaseDownload repository ZIP
GH-da9e20e1cb8ee803f3a42563208745c4
abdel-faridh33/agms
Sources for CVE-2023-23488
6 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files38
abdel-faridh33/agmsRevision 12c6bb384c0f
- ↑..Parent directory
- assets/
- css/
- fonts/
- images/
- includes/
- js/
- aboutus.php
- add-art-medium.php
- add-art-product.php
- add-art-type.php
- add-artist.php
- admin-profile.php
- answer-enquiry.php
- change-password.php
- changeimage.php
- changeimage1.php
- changeimage2.php
- changeimage3.php
- changeimage4.php
- changepropic.php
- contactus.php
- dashboard.php
- edit-art-medium-detail.php
- edit-art-product-detail.php
- edit-art-type-detail.php
- edit-artist-detail.php
- forgot-password.php
- login.php
- logout.php
- manage-art-medium.php
- manage-art-product.php
- manage-art-type.php
- manage-artist.php
- reset-password.php
- search.php
- total-enquiry.php
- unanswer-enquiry.php
- view-enquiry-detail.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
admin/aboutus.php
PHP · 5,030 bytes<?php
session_start();
error_reporting(0);
include('includes/dbconnection.php');
if (strlen($_SESSION['agmsaid']==0)) {
header('location:logout.php');
} else{
if(isset($_POST['submit']))
{
$agmsaid=$_SESSION['agmsaid'];
$pagetitle=$_POST['pagetitle'];
$pagedes=$_POST['pagedes'];
$query=mysqli_query($con,"update tblpage set PageTitle='$pagetitle',PageDescription='$pagedes' where PageType='aboutus'");
if ($query) {
echo "<script>alert('About Us has been updated.');</script>";
}
else
{
echo "<script>alert('Something went wrong.');</script>";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" href="img/favicon.png">
<title>About Us | Art Gallery Management System</title>
<!-- Bootstrap CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- bootstrap theme -->
<link href="css/bootstrap-theme.css" rel="stylesheet">
<!--external css-->
<!-- font icon -->
<link href="css/elegant-icons-style.css" rel="stylesheet" />
<link href="css/font-awesome.min.css" rel="stylesheet" />
<!-- Custom styles -->
<link href="css/style.css" rel="stylesheet">
<link href="css/style-responsive.css" rel="stylesheet" />
<script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript"></script>
<script type="text/javascript">bkLib.onDomLoaded(nicEditors.allTextAreas);</script>
</head>
<body>
<!-- container section start -->
<section id="container" class="">
<!--header start-->
<?php include_once('includes/header.php');?>
<!--header end-->
<!--sidebar start-->
<?php include_once('includes/sidebar.php');?>
<!--sidebar end-->
<!--main content start-->
<section id="main-content">
<section class="wrapper">
<div class="row">
<div class="col-lg-12">
<h3 class="page-header"><i class="fa fa-files-o"></i> About Us</h3>
<ol class="breadcrumb">
<li><i class="fa fa-home"></i><a href="dashboard.php">Home</a></li>
<li><i class="icon_document_alt"></i>About Us</li>
<li><i class="fa fa-files-o"></i>About Us</li>
</ol>
</div>
</div>
<!-- Form validations -->
<div class="row">
<div class="col-lg-12">
<section class="panel">
<header class="panel-heading">
About Us
</header>
</section>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<section class="panel">
<div class="panel-body">
<div class="form">
<?php
$ret=mysqli_query($con,"select * from tblpage where PageType='aboutus'");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
<form class="form-validate form-horizontal" method="post" action="">
<div class="form-group ">
<label for="fullname" class="control-label col-lg-2">Page Title <span class="required">*</span></label>
<div class="col-lg-10">
<input type="text" name="pagetitle" class=" form-control" required= "true" value="<?php echo $row['PageTitle'];?>">
</div>
</div>
<div class="form-group ">
<label for="address" class="control-label col-lg-2">Page Description <span class="required">*</span></label>
<div class="col-lg-10">
<textarea class=" form-control" id="pagedes" name="pagedes" type="text" required="true" value=""><?php echo $row['PageDescription'];?></textarea>
</div>
</div>
<?php } ?>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button class="btn btn-primary" type="submit" name="submit">Update</button>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
</div>
<!-- page end-->
</section>
</section>
<!--main content end-->
<?php include_once('includes/footer.php');?>
</section>
<!-- container section end -->
<!-- javascripts -->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- nice scroll -->
<script src="js/jquery.scrollTo.min.js"></script>
<script src="js/jquery.nicescroll.js" type="text/javascript"></script>
<!-- jquery validate js -->
<script type="text/javascript" src="js/jquery.validate.min.js"></script>
<!-- custom form validation script for this page-->
<script src="js/form-validation-script.js"></script>
<!--custome script for all page-->
<script src="js/scripts.js"></script>
</body>
</html>
<?php } ?>