1. CVE archive
  2. 2018
  3. CVE-2018-8926

CVE-2018-8926

8.8 High severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 8.8 – High

Description

Permissive regular expression vulnerability in synophoto_dsm_user in Synology Photo Station before 6.8.5-3471 and before 6.3-2975 allows remote authenticated users to conduct privilege escalation attacks via the fullname parameter.

Affected products

VendorProductVersionPlatform
synology photo station >= 6.3-2958 <= 6.3-2975 –
synology photo station >= 6.8.0-3456 < 6.8.5-3471 –
All 33 Synology Photo Station vulnerabilities

Vulnerability type

CWE-625 Permissive Regular Expression

The product uses a regular expression that does not sufficiently restrict the set of allowed values.

Impact on systems

ScopeImpact
Access Control Bypass Protection Mechanism
The regexp could accept substrings that match the pattern, which produces a partial comparison to the target. In some cases, this can allow dangerous substrings to bypass the intended protection.

How to prevent it

Implementation When applicable, ensure that the regular expression marks beginning and ending string patterns, such as /^string$/ for Perl.

All 20 CWE-625 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org