header-logo
Suggest Exploit
vendor:
LISTSERV
by:
Shaunt Der-Grigorian
7.5
CVSS
HIGH
Insecure Direct Object Reference (IDOR)
639
CWE
Product Name: LISTSERV
Affected Version From: 17
Affected Version To: 17
Patch Exists: NO
Related CWE: CVE-2022-40319
CPE: a:lsoft:listserv:17
Metasploit:
Other Scripts:
Platforms Tested: Windows Server 2019
2022

LISTSERV 17 – Insecure Direct Object Reference (IDOR)

LISTSERV 17 is vulnerable to Insecure Direct Object Reference (IDOR) vulnerability. An attacker can exploit this vulnerability by creating two accounts on the LISTSERV 17 installation, logging into each one in a different browser or container. Intercepting the attacking profile's browser traffic using Burp, the attacker can change the email address in the URL's Y parameter to the email address of the victim account. The attacker can then replace the “WALOGIN” cookie value with an ASCII encoded version of the victim's email address. This will allow the attacker to access and edit the victim's profile, as well as access any information in the profile.

Mitigation:

Organizations should ensure that access control checks are performed on all requests to prevent unauthorized access to sensitive data. Additionally, organizations should ensure that all user input is properly sanitized and validated to prevent malicious input.
Source

Exploit-DB raw data:

# Exploit Title: LISTSERV 17 - Insecure Direct Object Reference (IDOR)
# Google Dork: inurl:/scripts/wa.exe
# Date: 12/02/2022
# Exploit Author: Shaunt Der-Grigorian
# Vendor Homepage: https://www.lsoft.com/
# Software Link: https://www.lsoft.com/download/listserv.asp
# Version: 17
# Tested on: Windows Server 2019
# CVE : CVE-2022-40319

# Steps to replicate
1. Create two accounts on your LISTSERV 17 installation, logging into each one in a different browser or container.
2. Intercept your attacking profile's browser traffic using Burp.
3. When logging in, you'll be taken to a URL with your email address in the Y parameter (i.e. http://example.com/scripts/wa.exe?INDEX&X=[session-id]&Y=[email-address]).
4. Click on your email address on the top right and select "Edit profile".
5. In Burp, change the email address in the URL's Y parameter to the email address of your victim account.
4. Next, the "WALOGIN" cookie value will be an ASCII encoded version of your email address. Using Burp Decoder, ASCII encode your victim's email address and replace the "WALOGIN" cookie value with that.5. Submit this request. You should now be accessing/editing the victim's profile. You can make modifications and access any information in this profile as long as you replace those two values in Burp for each request.