cbcvebase.
CVE-2017-11152
published 2017-08-08

CVE-2017-11152: Directory traversal vulnerability in PixlrEditorHandler.php in Synology Photo Station before 6.7.3-3432 and 6.3-2967 allows remote attackers to write arbitrary…

PriorityP261high7.5CVSS 3.0
AVNACLPRNUINSUCNIHAN
EXPLOIT
EPSS
13.91%
96.1th percentile
Directory traversal vulnerability in PixlrEditorHandler.php in Synology Photo Station before 6.7.3-3432 and 6.3-2967 allows remote attackers to write arbitrary files via the path parameter.

Affected

3 ranges
VendorProductVersion rangeFixed in
synologyphoto_station<= 6.7.2-3429
synologyphoto_station
synologysynology_photo_station

Detection & IOCsextracted from sources · hover to see the quote

path/photo/include/synotheme_upload.php
path/photo/include/file_upload.php
path/photo/PixlrEditorHandler.php
path/photo/admin/general_setting.php
path/photo/facebook/exploit.php
path/../../../../../var/packages/PhotoStation/etc/blog/photo_custom_preview_logo.png
path/../../../../../var/services/photo/@eaDir/SYNOPHOTO_THEME_DIR/photo_custom_preview_logo.png
path/volume1/photo/../../../volume1/@appstore/PhotoStation/photo/facebook/exploit
  • Detect directory traversal in the 'path' parameter of POST requests to /photo/PixlrEditorHandler.php — the exploit base64-encodes a path containing '../../../' sequences to write a PHP webshell outside the photo directory.
  • Detect fake session fixation: POST to /photo/include/file_upload.php with a 'session' parameter containing path traversal sequences (e.g. '/../../../../../') pointing to a previously uploaded file used as a session token.
  • Detect upload of a crafted PHP serialized session payload disguised as a .jpg file to /photo/include/synotheme_upload.php with action=logo_upload — the file content is a PHP serialized string granting admin_syno_user privileges.
  • Alert on GET requests to /photo/facebook/*.php — this path is used to execute the dropped webshell after the traversal write.
  • The exploit chain results in code execution as uid=138862(PhotoStation); process activity under this UID following web requests to Photo Station endpoints should be treated as a compromise indicator.
  • POST to /photo/PixlrEditorHandler.php with parameters action=save, type=php, and a base64-encoded 'image' field containing a data:// URI is the direct webshell-write step of the exploit.
  • ·The session traversal path used in step 2 varies by Synology Photo Station version; two alternate paths are provided in the exploit and both should be monitored.
  • ·This CVE (directory traversal via 'path' parameter in PixlrEditorHandler.php) is only one of four chained vulnerabilities required for full RCE; detection must cover all four stages (arbitrary file upload, fake auth, identity impersonation, and authenticated code execution).

CVSS provenance

nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.