[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

CiviCRM 5.59.alpha1 Cross Site Scripting Vulnerability

Author
Andrea Intilangelo
Risk
[
Security Risk Medium
]
0day-ID
0day-ID-38692
Category
web applications
Date add
19-05-2023
CVE
CVE-2023-25440
Platform
php
# Exploit Title: CiviCRM 5.59.alpha1 - Stored XSS (Cross-Site Scripting)
# Exploit Author: Andrea Intilangelo
# Vendor Homepage: https://civicrm.org
# Software Link: https://civicrm.org/download
# Version: 5.59.alpha1, 5.58.0 (and earlier), 5.57.3 (and earlier)
# Tested on: Latest Version of Desktop Web Browsers (ATTOW: Firefox 109.0.1, Microsoft Edge 109.0.1518.70)
# CVE: CVE-2023-25440 / Vendor Security Advisory: CIVI-SA-2023-05


Description:

A stored cross-site scripting (XSS) vulnerability in CiviCRM 5.59.alpha1 allows attacker to execute arbitrary web
scripts or HTML.

Injecting persistent javascript code inside the "Add Contact" function while creating a contact, in first/second name
field, it will be triggered once page gets loaded.


Steps to reproduce:

- Quick Add contact to CiviCRM,
- Insert a payload PoC inside the field(s)
- Click on 'Add contact'.

If a user visits the dashboard, as well as "Recently added" box, the javascript code will be rendered.


Timeline:

2023-01-29: Vulnerability discovered
2023-02-02: Request for CVE reservation
2023-02-04: Vendor contacted
2023-02-06: Vendor replies, acknowledgments and coordinating for advisory
2023-02-14: Vendor discloses Security advisory and credits, internal id: CIVI-SA-2023-05
2023-02-15: Vendor Security Advisory publication on https://civicrm.org/advisory/civi-sa-2023-05-quick-add-widget
2023-04-27: Assigned CVE number: CVE-2023-25440
2023-05-18: CVE publication / disclosure

#  0day.today [2024-11-15]  #