CVE-2016-2152 (GCVE-0-2016-2152)

Vulnerability from cvelistv5 – Published: 2016-05-22 20:00 – Updated: 2024-08-05 23:17
VLAI
Summary
Multiple cross-site scripting (XSS) vulnerabilities in auth/db/auth.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allow remote attackers to inject arbitrary web script or HTML via an external DB profile field.
CWE
  • n/a
Assigner
redhat CNA under the redhat root
CNA scorecard B 82/100 over 1046 records in the last 180 days details
References
Date Public
2016-03-21 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T23:17:50.769Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50705"
          },
          {
            "name": "[oss-security] 20160321 moodle security release",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2016/03/21/1"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://moodle.org/mod/forum/discuss.php?d=330174"
          },
          {
            "name": "1035333",
            "tags": [
              "vdb-entry",
              "x_refsource_SECTRACK",
              "x_transferred"
            ],
            "url": "http://www.securitytracker.com/id/1035333"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2016-03-21T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "Multiple cross-site scripting (XSS) vulnerabilities in auth/db/auth.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allow remote attackers to inject arbitrary web script or HTML via an external DB profile field."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-09-06T09:57:02.000Z",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50705"
        },
        {
          "name": "[oss-security] 20160321 moodle security release",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2016/03/21/1"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://moodle.org/mod/forum/discuss.php?d=330174"
        },
        {
          "name": "1035333",
          "tags": [
            "vdb-entry",
            "x_refsource_SECTRACK"
          ],
          "url": "http://www.securitytracker.com/id/1035333"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2016-2152",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "Multiple cross-site scripting (XSS) vulnerabilities in auth/db/auth.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allow remote attackers to inject arbitrary web script or HTML via an external DB profile field."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50705",
              "refsource": "CONFIRM",
              "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50705"
            },
            {
              "name": "[oss-security] 20160321 moodle security release",
              "refsource": "MLIST",
              "url": "http://www.openwall.com/lists/oss-security/2016/03/21/1"
            },
            {
              "name": "https://moodle.org/mod/forum/discuss.php?d=330174",
              "refsource": "CONFIRM",
              "url": "https://moodle.org/mod/forum/discuss.php?d=330174"
            },
            {
              "name": "1035333",
              "refsource": "SECTRACK",
              "url": "http://www.securitytracker.com/id/1035333"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2016-2152",
    "datePublished": "2016-05-22T20:00:00.000Z",
    "dateReserved": "2016-01-29T00:00:00.000Z",
    "dateUpdated": "2024-08-05T23:17:50.769Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2016-2152",
      "date": "2026-10-28",
      "epss": "0.01465",
      "percentile": "0.73549"
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9F3E36CA-026A-4262-8CB7-73E0FC315A45",
                    "versionEndIncluding": "2.6.11",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4E051AAC-EB40-491F-AF0E-EE8143C12567",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FADBE87F-1855-453B-B958-0CB8A7908A06",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1B53A7D2-BDA2-4185-97C3-977A04876A37",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A51DFFA8-DFF0-429C-B697-F82F41621FEE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "19FD1565-0DA1-4BA8-A501-86F13D3D29ED",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6D82CFE8-C38D-4FF3-BC4F-6C27AD64D9A3",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FEB754AF-3DA4-4459-A53B-3BC7B78CE313",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.7:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F57E8383-C3F3-480C-B9A9-49633DAAEC18",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "645E8B7B-1AE6-4F46-AFA9-7506685CD571",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.9:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0316A26A-8B51-4226-8D56-4A798A2D798D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DF5A44BF-A70E-4AEF-9A3C-E03809744AB3",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.11:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5E3F7DEF-1A66-43CB-BE45-EC609D60D76E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.7.12:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DD39692F-BC98-4AE3-B31A-4592D3212F4E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "12737AF4-B2D5-4661-B06A-6A06FE95EC2D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "88C59A94-D225-478A-B23E-41C4324BC643",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "192EA69B-A1E1-4E0D-8E73-76EB74CCDE49",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D88385B1-EEFB-4825-BD8F-215C39FD86DA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A3BE2782-D167-4237-B57D-2E4C04571524",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F277F979-12FA-47A5-B0A5-D174C2127A7D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "38498617-8E45-4E73-AE9F-C7A0D18FDE47",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.7:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C9047769-BFF4-42DB-8B19-F6D16FA910A1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "73A75ACE-FED2-4830-B259-744ABF25463E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.9:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F04EBA18-DFFF-4529-B647-98191325663B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.8.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A3A746AB-5D58-4196-962A-D22454C3550B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.9.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C9224D94-1C48-468C-A39B-B2694ED178F4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.9.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1C7EE9AD-E122-4288-9416-6D8F8790D75D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.9.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C4FC2CC1-787B-480F-BC41-538CE2507CB7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.9.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "098BADF2-C1D3-406E-9E79-E25483178C99",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:2.9.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "611B027A-38D6-445E-BFA9-FA68524147DB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:3.0.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8C22EB95-6D8F-45F8-A000-795E259CF06D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:3.0.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "65FE0DC7-131E-4ED1-9CFF-70C79995A0B9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:moodle:moodle:3.0.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "80B3EEF9-F300-461F-9407-0FFB3E3CD421",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Multiple cross-site scripting (XSS) vulnerabilities in auth/db/auth.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allow remote attackers to inject arbitrary web script or HTML via an external DB profile field."
          },
          {
            "lang": "es",
            "value": "M\u00faltiples vulnerabilidades de XSS en auth/db/auth.php en Moodle hasta la versi\u00f3n 2.6.11, 2.7.x en versiones anteriores a 2.7.13, 2.8.x en versiones anteriores a 2.8.11, 2.9.x en versiones anteriores a 2.9.5 y 3.0.x en versiones anteriores a 3.0.3 permite a atacantes remotos inyectar secuencias de comandos web o HTML arbitrarios a trav\u00e9s de un campo externo DB profile."
          }
        ],
        "id": "CVE-2016-2152",
        "lastModified": "2026-05-06T22:30:45.220",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "MEDIUM",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "NONE",
                "baseScore": 4.3,
                "confidentialityImpact": "NONE",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
                "version": "2.0"
              },
              "exploitabilityScore": 8.6,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": true
            }
          ],
          "cvssMetricV30": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.1,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.0"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 2.7,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2016-05-22T20:59:01.097",
        "references": [
          {
            "source": "secalert@redhat.com",
            "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50705"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.openwall.com/lists/oss-security/2016/03/21/1"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.securitytracker.com/id/1035333"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://moodle.org/mod/forum/discuss.php?d=330174"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50705"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.openwall.com/lists/oss-security/2016/03/21/1"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.securitytracker.com/id/1035333"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://moodle.org/mod/forum/discuss.php?d=330174"
          }
        ],
        "sourceIdentifier": "secalert@redhat.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-79"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2026-01-09T09:02:43+00:00",
      "cve": "CVE-2016-2152",
      "id": "CVE-2016-2152",
      "initial_release_date": "2016-03-21T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "moodle: multiple security issues fixed in 3.0.3, 2.9.5, 2.8.11, 2.7.13",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-2152.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    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.