Skip to content
XSS Disclosed report Beginner

WordPress < 4.8.2 vulnerable to multiple attacks

The website nextcloud.com was running a version of WordPress older than 4.8.2, which contains multiple known vulnerabilities including SQL injection, cross-site scripting, path traversal, and open redirect. An attacker could potentially exploit these issues, though the report does not demonstrate any specific attack.

kuyschi Follow

Originally disclosed on HackerOne

  • Fixed in 41 hours
  • Disclosed after 7 days

Hello team,

Summary:

I observed that your website https://nextcloud.com still uses WP less than 4.8.2 which is vulnerable to multiple attacks, i reported it so that the team will be aware of it, below are the new discovered bug that you can find on this release: https://wordpress.org/news/2017/09/wordpress-4-8-2-security-and-maintenance-release/

  1. $wpdb->prepare() can create unexpected and unsafe queries leading to potential SQL injection (SQLi). WordPress core is not directly vulnerable to this issue, but we’ve added hardening to prevent plugins and themes from accidentally causing a vulnerability. Reported by Slavco
  2. A cross-site scripting (XSS) vulnerability was discovered in the oEmbed discovery. Reported by xknown of the WordPress Security Team.
  3. A cross-site scripting (XSS) vulnerability was discovered in the visual editor. Reported by Rodolfo Assis (@brutelogic) of Sucuri Security.
  4. A path traversal vulnerability was discovered in the file unzipping code. Reported by Alex Chapman (noxrnet).
  5. A cross-site scripting (XSS) vulnerability was discovered in the plugin editor. Reported by 陈瑞琦 (Chen Ruiqi).
  6. An open redirect was discovered on the user and term edit screens. Reported by Yasin Soliman (ysx).
  7. A path traversal vulnerability was discovered in the customizer. Reported by Weston Ruter of the WordPress Security Team.
  8. A cross-site scripting (XSS) vulnerability was discovered in template names. Reported by Luka (siKiritokic).
  9. A cross-site scripting (XSS) vulnerability was discovered in the link modal. Reported by Anas Roubi (qasuar).

Mitigation:

Upgrade to wordpress 4.8.2

Regards Chachi

The original report as published on HackerOne, by kuyschi. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the website was running an outdated version of WordPress that had not been patched against publicly known vulnerabilities.

Impact

An attacker could potentially exploit these vulnerabilities to perform SQL injection, cross-site scripting, path traversal, or open redirect attacks, though the report does not confirm any specific exploitation.

What the attacker needed

WordPress version below 4.8.2

The fix

The website should be upgraded to WordPress 4.8.2 or later.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The report says a website was using an old version of WordPress (a popular tool for building websites) that has several known security holes. These holes could let an attacker do things like inject malicious scripts or access files they shouldn't. The fix is simply to update WordPress to the newer version.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.