CVE-2023-28115
Published: 03/17/2023 22:15:11
Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Prior to version 1.4.2, Snappy is vulnerable to PHAR deserialization due to a lack of checking on the protocol before passing it into the `file_exists()` function. If an attacker can upload files of any type to the server he can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution especially when snappy is used with frameworks with documented POP chains like Laravel/Symfony vulnerable developer code. If a user can control the output file from the `generateFromHtml()` function, it will invoke deserialization. This vulnerability is capable of remote code execution if Snappy is used with frameworks or developer code with vulnerable POP chains. It has been fixed in version 1.4.2.
CRITICAL
CVSS v3: 9.8
CVSS v3: 9.8
Status
DocFilters Release | Package | State | Justification | Comment |
---|---|---|---|---|
25.1 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
24.4 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
24.4.0 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
24.3 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
24.2.1 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
24.2 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
24.1 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
23.3 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
23.2.1 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
23.2 | snappy (1.1.3) | False Positive | Code Not Present | Issue does not exist in Google Snappy library, but in an unrelated PHP library not used by DocFilters |
23.1 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
22.4 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
22.3 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
22.2 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
22.1 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
21.11.1 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
21.11 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
21.8.1 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
21.8 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
21.5.1 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
21.5.0 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
21.2.0 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.20 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.19.3667 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.18.3599 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.17 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.16.3445 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.15.3368 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.14.3263 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.13.3179 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.12.3054 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.11.3040 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.11.2990 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.10.2934 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.9.2878 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
11.4.8.2822 | snappy (1.1.3) | False Positive | Code Not Present | Unknown vendors ‘knplabs’ |
Severity score breakdown
Attack Complexity
LOW
Attack Vector
NETWORK
Availability Impact
HIGH
Base Score
9.8
Base Severity
CRITICAL
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Privileges Required
NONE
Scope
UNCHANGED
User Interaction
NONE
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Version
3.1