Lucene search

K
hackeroneMikkocarreonH1:1858574
HistoryFeb 02, 2023 - 6:00 a.m.

HackerOne: [CVE-2022-44268] Arbitrary Remote Leak via ImageMagick

2023-02-0206:00:01
mikkocarreon
hackerone.com
49

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

0.027 Low

EPSS

Percentile

88.9%

Summary:
HackerOne’s image upload is using ImageMagick to convert/resize images and is likely updated. Thus, it’s vulnerable to CVE-2022-44268.

Description:

Steps To Reproduce

  1. Navigate to your profile
  2. Edit and upload the attached image (im-lfi.png) as your profile picture
  3. Save changes and download the resized picture
  4. Issue the following command to view the downloaded image’s profile data;
identify -verbose image.png

Then, copy the Raw profile type: and decode it using any tool or using Python like;

python -c "print(bytes.fromhex('2c2c2c3a2f72756e2f73797374656d643a2f7573722f7362696e2f6e6f6c6f67696e0a').decode())"

I’ve attached the resized image too which contains the content of /etc/passwd i.e. 86bca9490b71a481329efc85de3a82a98f6c29475f4926fd2b5fc844b96899c0.png

Impact

Arbitrary Remote Leak

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

0.027 Low

EPSS

Percentile

88.9%