Lucene search

K
wpvulndbApple502jWPVDB-ID:C783A746-F1FE-4D68-9D0A-477DE5DBB35C
HistoryAug 23, 2021 - 12:00 a.m.

OMGF < 4.5.4 - Unauthenticated Path Traversal in REST API

2021-08-2300:00:00
apple502j
wpscan.com
9

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

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

6.4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

The plugin does not escape or validate the handle parameter of the REST API, which allows unauthenticated users to perform path traversal and overwrite arbitrary CSS file with Google Fonts CSS, or download fonts uploaded on Google Fonts website.

PoC

Access the URL below as unauthenticated. “cssfilename” is the file name of the CSS, excluding .css extension. The result will contain PHP error about missing directories, but should overwrite the file nonetheless. If an existing directory name is supplied, it will also download the specified fonts to that directory. https://example.com/wp-json/omgf/v1/download/css?handle=/../../path/to/css/cssfilename&amp;original;_handle=b&amp;family;=Sora

CPENameOperatorVersion
host-webfonts-locallt4.5.4

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

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

6.4 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

Related for WPVDB-ID:C783A746-F1FE-4D68-9D0A-477DE5DBB35C