id: disable-ip-source-route

info:
  name: Cisco Disable IP Source-Route - Detect
  author: pussycat0x
  severity: info
  description: |
    Cisco IP source-route functionality has been utilized in several attacks. An attacker can potentially obtain sensitive information, modify data, and/or execute unauthorized operations.
  remediation: Disable IP source-route where appropriate.
  reference:
    - https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr/command/ipaddr-cr-book/ipaddr-i4.html#GUID-C7F971DD-358F-4B43-9F3E-244F5D4A3A93
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  tags: audit,file,cisco,config-audit,cisco-switch,router

file:
  - extensions:
      - conf

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "no ip source-route"
        negative: true

      - type: word
        words:
          - "configure terminal"
# digest: 4a0a00473045022100f47f136c5ec70dec5dbe9a4510f2b50b1ced4e8c993b54e9de9c62620c8b379a02205497ae04517a3df8deff4073944779fb6e76b548292c07c8d7f0e6009200fb29:922c64590222798bb761d5b6d8e72950