GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

VAR-202002-0037

Vulnerability from variot - Updated: 2023-12-18 12:43

Command Injection vulnerability exists via a CSRF in DD-WRT 24-sp2 from specially crafted configuration values containing shell meta-characters, which could let a remote malicious user cause a Denial of Service. DD-WRT Exists in a cross-site request forgery vulnerability.Information is obtained, information is tampered with, and service operation is interrupted. (DoS) It may be put into a state. DD-WRT is a non-commercial third-party firmware that can be used with some wireless routers. DD-WRT incorrectly filters some configuration values that contain shell metacharacters. An attacker can construct a malicious URI, entice a user to parse, and execute arbitrary commands as a root user through a cross-site request forgery attack. DD-WRT is prone to a command-injection vulnerability. Exploiting this issue could allow an attacker to execute arbitrary commands with elevated privileges in the context of the affected application. This may cause denial-of-service conditions. DD-WRT v24-sp2 is vulnerable; other versions may also be affected. Successful exploitation can result in system wide compromise or a denial of service condition depending on the commands being injected.

This bug was reported via the DD-WRT bug tracker on November 20, 2012 but there does not appear to be ongoing development in the project

Show details on source website

{
  "@context": {
    "@vocab": "https://www.variotdbs.pl/ref/VARIoTentry#",
    "affected_products": {
      "@id": "https://www.variotdbs.pl/ref/affected_products"
    },
    "configurations": {
      "@id": "https://www.variotdbs.pl/ref/configurations"
    },
    "credits": {
      "@id": "https://www.variotdbs.pl/ref/credits"
    },
    "cvss": {
      "@id": "https://www.variotdbs.pl/ref/cvss/"
    },
    "description": {
      "@id": "https://www.variotdbs.pl/ref/description/"
    },
    "exploit_availability": {
      "@id": "https://www.variotdbs.pl/ref/exploit_availability/"
    },
    "external_ids": {
      "@id": "https://www.variotdbs.pl/ref/external_ids/"
    },
    "iot": {
      "@id": "https://www.variotdbs.pl/ref/iot/"
    },
    "iot_taxonomy": {
      "@id": "https://www.variotdbs.pl/ref/iot_taxonomy/"
    },
    "patch": {
      "@id": "https://www.variotdbs.pl/ref/patch/"
    },
    "problemtype_data": {
      "@id": "https://www.variotdbs.pl/ref/problemtype_data/"
    },
    "references": {
      "@id": "https://www.variotdbs.pl/ref/references/"
    },
    "sources": {
      "@id": "https://www.variotdbs.pl/ref/sources/"
    },
    "sources_release_date": {
      "@id": "https://www.variotdbs.pl/ref/sources_release_date/"
    },
    "sources_update_date": {
      "@id": "https://www.variotdbs.pl/ref/sources_update_date/"
    },
    "threat_type": {
      "@id": "https://www.variotdbs.pl/ref/threat_type/"
    },
    "title": {
      "@id": "https://www.variotdbs.pl/ref/title/"
    },
    "type": {
      "@id": "https://www.variotdbs.pl/ref/type/"
    }
  },
  "@id": "https://www.variotdbs.pl/vuln/VAR-202002-0037",
  "affected_products": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/affected_products#",
      "data": {
        "@container": "@list"
      },
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        },
        "@id": "https://www.variotdbs.pl/ref/sources"
      }
    },
    "data": [
      {
        "model": "dd-wrt",
        "scope": "eq",
        "trust": 1.0,
        "vendor": "dd wrt",
        "version": "24"
      },
      {
        "model": "dd-wrt",
        "scope": "eq",
        "trust": 0.8,
        "vendor": "dd wrt",
        "version": "24-sp2"
      },
      {
        "model": "dd-wrt sp2",
        "scope": "eq",
        "trust": 0.6,
        "vendor": "dd wrt",
        "version": "24"
      },
      {
        "model": "dd-wrt v24-sp2",
        "scope": null,
        "trust": 0.3,
        "vendor": "dd wrt",
        "version": null
      }
    ],
    "sources": [
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      },
      {
        "db": "BID",
        "id": "61131"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      },
      {
        "db": "NVD",
        "id": "CVE-2012-6297"
      }
    ]
  },
  "configurations": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/configurations#",
      "children": {
        "@container": "@list"
      },
      "cpe_match": {
        "@container": "@list"
      },
      "data": {
        "@container": "@list"
      },
      "nodes": {
        "@container": "@list"
      }
    },
    "data": [
      {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:dd-wrt:dd-wrt:24:sp2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      }
    ],
    "sources": [
      {
        "db": "NVD",
        "id": "CVE-2012-6297"
      }
    ]
  },
  "credits": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/credits#",
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": "cyoung",
    "sources": [
      {
        "db": "BID",
        "id": "61131"
      },
      {
        "db": "PACKETSTORM",
        "id": "122374"
      }
    ],
    "trust": 0.4
  },
  "cve": "CVE-2012-6297",
  "cvss": {
    "@context": {
      "cvssV2": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV2#"
        },
        "@id": "https://www.variotdbs.pl/ref/cvss/cvssV2"
      },
      "cvssV3": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/cvss/cvssV3#"
        },
        "@id": "https://www.variotdbs.pl/ref/cvss/cvssV3/"
      },
      "severity": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/cvss/severity#"
        },
        "@id": "https://www.variotdbs.pl/ref/cvss/severity"
      },
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        },
        "@id": "https://www.variotdbs.pl/ref/sources"
      }
    },
    "data": [
      {
        "cvssV2": [
          {
            "acInsufInfo": false,
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "author": "NVD",
            "availabilityImpact": "COMPLETE",
            "baseScore": 9.3,
            "confidentialityImpact": "COMPLETE",
            "exploitabilityScore": 8.6,
            "impactScore": 10.0,
            "integrityImpact": "COMPLETE",
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "severity": "HIGH",
            "trust": 1.0,
            "userInteractionRequired": true,
            "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
            "version": "2.0"
          },
          {
            "acInsufInfo": null,
            "accessComplexity": "Medium",
            "accessVector": "Network",
            "authentication": "None",
            "author": "NVD",
            "availabilityImpact": "Complete",
            "baseScore": 9.3,
            "confidentialityImpact": "Complete",
            "exploitabilityScore": null,
            "id": "JVNDB-2012-006607",
            "impactScore": null,
            "integrityImpact": "Complete",
            "obtainAllPrivilege": null,
            "obtainOtherPrivilege": null,
            "obtainUserPrivilege": null,
            "severity": "High",
            "trust": 0.8,
            "userInteractionRequired": null,
            "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
            "version": "2.0"
          },
          {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "author": "CNVD",
            "availabilityImpact": "NONE",
            "baseScore": 3.5,
            "confidentialityImpact": "PARTIAL",
            "exploitabilityScore": 6.8,
            "id": "CNVD-2013-09712",
            "impactScore": 2.9,
            "integrityImpact": "NONE",
            "severity": "LOW",
            "trust": 0.6,
            "vectorString": "AV:N/AC:M/Au:S/C:P/I:N/A:N",
            "version": "2.0"
          }
        ],
        "cvssV3": [
          {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "author": "NVD",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "exploitabilityScore": 2.8,
            "impactScore": 5.9,
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "trust": 1.0,
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          {
            "attackComplexity": "Low",
            "attackVector": "Network",
            "author": "NVD",
            "availabilityImpact": "High",
            "baseScore": 8.8,
            "baseSeverity": "High",
            "confidentialityImpact": "High",
            "exploitabilityScore": null,
            "id": "JVNDB-2012-006607",
            "impactScore": null,
            "integrityImpact": "High",
            "privilegesRequired": "None",
            "scope": "Unchanged",
            "trust": 0.8,
            "userInteraction": "Required",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.0"
          }
        ],
        "severity": [
          {
            "author": "NVD",
            "id": "CVE-2012-6297",
            "trust": 1.0,
            "value": "HIGH"
          },
          {
            "author": "NVD",
            "id": "JVNDB-2012-006607",
            "trust": 0.8,
            "value": "High"
          },
          {
            "author": "CNVD",
            "id": "CNVD-2013-09712",
            "trust": 0.6,
            "value": "LOW"
          },
          {
            "author": "CNNVD",
            "id": "CNNVD-202002-180",
            "trust": 0.6,
            "value": "HIGH"
          }
        ]
      }
    ],
    "sources": [
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      },
      {
        "db": "NVD",
        "id": "CVE-2012-6297"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202002-180"
      }
    ]
  },
  "description": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/description#",
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": "Command Injection vulnerability exists via a CSRF in DD-WRT 24-sp2 from specially crafted configuration values containing shell meta-characters, which could let a remote malicious user cause a Denial of Service. DD-WRT Exists in a cross-site request forgery vulnerability.Information is obtained, information is tampered with, and service operation is interrupted. (DoS) It may be put into a state. DD-WRT is a non-commercial third-party firmware that can be used with some wireless routers. DD-WRT incorrectly filters some configuration values that contain shell metacharacters. An attacker can construct a malicious URI, entice a user to parse, and execute arbitrary commands as a root user through a cross-site request forgery attack. DD-WRT is prone to a command-injection vulnerability. \nExploiting this issue could allow an  attacker to execute  arbitrary  commands with elevated privileges in the context of the affected application. This may cause  denial-of-service conditions. \nDD-WRT v24-sp2 is vulnerable; other versions may also be affected. Successful exploitation can result in system wide compromise or a denial of service condition depending on the commands being injected. \n\nThis bug was reported via the DD-WRT bug tracker on November 20, 2012 but there does not appear to be ongoing development in the project",
    "sources": [
      {
        "db": "NVD",
        "id": "CVE-2012-6297"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      },
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      },
      {
        "db": "BID",
        "id": "61131"
      },
      {
        "db": "PACKETSTORM",
        "id": "122374"
      }
    ],
    "trust": 2.52
  },
  "external_ids": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/external_ids#",
      "data": {
        "@container": "@list"
      },
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": [
      {
        "db": "NVD",
        "id": "CVE-2012-6297",
        "trust": 3.4
      },
      {
        "db": "VULDB",
        "id": "9527",
        "trust": 2.4
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607",
        "trust": 0.8
      },
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712",
        "trust": 0.6
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202002-180",
        "trust": 0.6
      },
      {
        "db": "BID",
        "id": "61131",
        "trust": 0.3
      },
      {
        "db": "PACKETSTORM",
        "id": "122374",
        "trust": 0.1
      }
    ],
    "sources": [
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      },
      {
        "db": "BID",
        "id": "61131"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      },
      {
        "db": "PACKETSTORM",
        "id": "122374"
      },
      {
        "db": "NVD",
        "id": "CVE-2012-6297"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202002-180"
      }
    ]
  },
  "id": "VAR-202002-0037",
  "iot": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/iot#",
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": true,
    "sources": [
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      }
    ],
    "trust": 1.35
  },
  "iot_taxonomy": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/iot_taxonomy#",
      "data": {
        "@container": "@list"
      },
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": [
      {
        "category": [
          "Network device"
        ],
        "sub_category": null,
        "trust": 0.6
      }
    ],
    "sources": [
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      }
    ]
  },
  "last_update_date": "2023-12-18T12:43:06.978000Z",
  "patch": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/patch#",
      "data": {
        "@container": "@list"
      },
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": [
      {
        "title": "Top Page",
        "trust": 0.8,
        "url": "https://dd-wrt.com/"
      },
      {
        "title": "Patch for DD-WRT cross-site request forgery vulnerability",
        "trust": 0.6,
        "url": "https://www.cnvd.org.cn/patchinfo/show/35152"
      }
    ],
    "sources": [
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      }
    ]
  },
  "problemtype_data": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/problemtype_data#",
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": [
      {
        "problemtype": "CWE-352",
        "trust": 1.8
      }
    ],
    "sources": [
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      },
      {
        "db": "NVD",
        "id": "CVE-2012-6297"
      }
    ]
  },
  "references": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/references#",
      "data": {
        "@container": "@list"
      },
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": [
      {
        "trust": 2.4,
        "url": "https://vuldb.com/?id.9527"
      },
      {
        "trust": 1.6,
        "url": "https://lists.openwall.net/bugtraq/2013/07/12/2"
      },
      {
        "trust": 1.6,
        "url": "https://packetstormsecurity.com/files/cve/cve-2012-6297"
      },
      {
        "trust": 1.6,
        "url": "https://seclists.org/fulldisclosure/2013/oct/241"
      },
      {
        "trust": 1.5,
        "url": "https://nvd.nist.gov/vuln/detail/cve-2012-6297"
      },
      {
        "trust": 0.8,
        "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2012-6297"
      },
      {
        "trust": 0.6,
        "url": "http://seclists.org/bugtraq/2013/jul/76"
      },
      {
        "trust": 0.3,
        "url": "http://www.securityfocus.com/archive/1/527212"
      },
      {
        "trust": 0.3,
        "url": "http://www.dd-wrt.com/dd-wrtv3/dd-wrt/about.html"
      }
    ],
    "sources": [
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      },
      {
        "db": "BID",
        "id": "61131"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      },
      {
        "db": "PACKETSTORM",
        "id": "122374"
      },
      {
        "db": "NVD",
        "id": "CVE-2012-6297"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202002-180"
      }
    ]
  },
  "sources": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/sources#",
      "data": {
        "@container": "@list"
      }
    },
    "data": [
      {
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      },
      {
        "db": "BID",
        "id": "61131"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      },
      {
        "db": "PACKETSTORM",
        "id": "122374"
      },
      {
        "db": "NVD",
        "id": "CVE-2012-6297"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202002-180"
      }
    ]
  },
  "sources_release_date": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/sources_release_date#",
      "data": {
        "@container": "@list"
      }
    },
    "data": [
      {
        "date": "2013-07-22T00:00:00",
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      },
      {
        "date": "2012-11-20T00:00:00",
        "db": "BID",
        "id": "61131"
      },
      {
        "date": "2020-02-25T00:00:00",
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      },
      {
        "date": "2013-07-12T04:44:44",
        "db": "PACKETSTORM",
        "id": "122374"
      },
      {
        "date": "2020-02-06T18:15:12.947000",
        "db": "NVD",
        "id": "CVE-2012-6297"
      },
      {
        "date": "2020-02-06T00:00:00",
        "db": "CNNVD",
        "id": "CNNVD-202002-180"
      }
    ]
  },
  "sources_update_date": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/sources_update_date#",
      "data": {
        "@container": "@list"
      }
    },
    "data": [
      {
        "date": "2013-07-22T00:00:00",
        "db": "CNVD",
        "id": "CNVD-2013-09712"
      },
      {
        "date": "2012-11-20T00:00:00",
        "db": "BID",
        "id": "61131"
      },
      {
        "date": "2020-02-25T00:00:00",
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      },
      {
        "date": "2020-02-11T18:53:05.647000",
        "db": "NVD",
        "id": "CVE-2012-6297"
      },
      {
        "date": "2020-05-12T00:00:00",
        "db": "CNNVD",
        "id": "CNNVD-202002-180"
      }
    ]
  },
  "threat_type": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/threat_type#",
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": "remote",
    "sources": [
      {
        "db": "PACKETSTORM",
        "id": "122374"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-202002-180"
      }
    ],
    "trust": 0.7
  },
  "title": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/title#",
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": "DD-WRT Cross-site request forgery vulnerability in",
    "sources": [
      {
        "db": "JVNDB",
        "id": "JVNDB-2012-006607"
      }
    ],
    "trust": 0.8
  },
  "type": {
    "@context": {
      "@vocab": "https://www.variotdbs.pl/ref/type#",
      "sources": {
        "@container": "@list",
        "@context": {
          "@vocab": "https://www.variotdbs.pl/ref/sources#"
        }
      }
    },
    "data": "cross-site request forgery",
    "sources": [
      {
        "db": "CNNVD",
        "id": "CNNVD-202002-180"
      }
    ],
    "trust": 0.6
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…