{
  "Name": "Axis2 Default Credentials Remote Code Execution (CVE-2010-0219)",
  "Description": "The Axis2 administrator 'admin' has a password that is set to the default value of 'axis2'. As a result, anyone with access to the Axis2 port can trivially gain full access to the machine via arbitrary remote code execution. This requires the attacker to upload a malicious webservice and for the instance of Tomcat to be restarted.",
  "Product": "Apache-Axis2",
  "Homepage": "https://axis.apache.org/",
  "DisclosureDate": "2020-04-23",
  "Author": "gobysec@gmail.com",
  "FofaQuery": "app=\"Apache-Axis2\" || app=\"Axis2-Web\"",
  "GobyQuery": "app=\"Apache-Axis2\" || app=\"Axis2-Web\"",
  "Level": "3",
  "Impact": "Remote attacker can use this default to control the server.",
  "Recommendation": "It is imperative to change default manufacturer passwords and restrict network access to critical and important systems.",
  "References": [
    "https://www.us-cert.gov/ncas/alerts/TA13-175A",
    "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0219",
    "http://retrogod.altervista.org/9sg_ca_d2d.html",
    "http://spl0it.org/files/talks/source_barcelona10/Hacking%20SAP%20BusinessObjects.pdf",
    "http://www.exploit-db.com/exploits/15869",
    "http://www.kb.cert.org/vuls/id/989719",
    "http://www.rapid7.com/security-center/advisories/R7-0037.jsp",
    "http://www.securityfocus.com/archive/1/514284/100/0/threaded",
    "http://www.securitytracker.com/id?1024929",
    "http://www.vupen.com/english/advisories/2010/2673",
    "https://exchange.xforce.ibmcloud.com/vulnerabilities/62523",
    "https://kb.juniper.net/KB27373",
    "https://service.sap.com/sap/support/notes/1432881",
    "https://nvd.nist.gov/vuln/detail/CVE-2010-0219"
  ],
  "HasExp": false,
  "ExpParams": [],
  "ExpTips": {
    "Type": "Tips",
    "Content": ""
  },
  "ScanSteps": [
    "OR",
    {
      "Request": {
        "data": "userName=admin&password=axis2&submit=Login",
        "data_type": "text",
        "follow_redirect": false,
        "header": {
          "Content-Type": "application/x-www-form-urlencoded"
        },
        "method": "POST",
        "uri": "/axis2/axis2-admin/login"
      },
      "ResponseTest": {
        "checks": [
          {
            "bz": "",
            "operation": "==",
            "type": "item",
            "value": "200",
            "variable": "$code"
          },
          {
            "bz": "",
            "operation": "contains",
            "type": "item",
            "value": "Upload Service",
            "variable": "$body"
          }
        ],
        "operation": "AND",
        "type": "group"
      },
      "SetVariable": []
    },
    {
      "Request": {
        "data": "userName=admin&password=axis2&submit=Login",
        "data_type": "text",
        "follow_redirect": false,
        "header": {
          "Content-Type": "application/x-www-form-urlencoded"
        },
        "method": "POST",
        "uri": "/axis2-admin/login"
      },
      "ResponseTest": {
        "checks": [
          {
            "bz": "",
            "operation": "==",
            "type": "item",
            "value": "200",
            "variable": "$code"
          },
          {
            "bz": "",
            "operation": "contains",
            "type": "item",
            "value": "Upload Service",
            "variable": "$body"
          }
        ],
        "operation": "AND",
        "type": "group"
      },
      "SetVariable": []
    }
  ],
  "ExploitSteps": null,
  "Tags": [
    "defaultaccount"
  ],
  "CVEIDs": [
    "CVE-2010-0219"
  ],
  "CVSSScore": "10.0",
  "AttackSurfaces": {
    "Application": null,
    "Support": ["Apache-Axis2"],
    "Service": null,
    "System": null,
    "Hardware": null
  },
  "Disable": false
}