Vulnerability CVE-2021-34083


Published: 2022-06-02

Description:
Google-it is a Node.js package which allows its users to send search queries to Google and receive the results in a JSON format. When using the 'Open in browser' option in versions up to 1.6.2, google-it will unsafely concat the result's link retrieved from google to a shell command, potentially exposing the server to RCE.

Type:

CWE-78

(Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') )

CVSS2 => (AV:N/AC:M/Au:N/C:C/I:C/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
9.3/10
10/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Complete
Complete
Complete
Affected software
Google-it project -> Google-it 

 References:
https://github.com/PatNeedham/google-it/blob/v1.6.2/src/googleIt.js#L34
https://github.com/PatNeedham/google-it/blob/v1.6.2/lib/googleIt.js#L59
https://advisory.checkmarx.net/advisory/CX-2021-4777

Copyright 2024, cxsecurity.com

 

Back to Top