FKIE_CVE-2012-6087

Vulnerability from fkie_nvd - Published: 2013-09-16 13:02 - Updated: 2025-04-11 00:51
Severity ?
Summary
repository/s3/S3.php in the Amazon S3 library in Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, and 2.5.x before 2.5.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to an incorrect CURLOPT_SSL_VERIFYHOST value.
Impacted products
Vendor Product Version
moodle moodle *
moodle moodle 2.2.0
moodle moodle 2.2.1
moodle moodle 2.2.2
moodle moodle 2.2.3
moodle moodle 2.2.4
moodle moodle 2.2.5
moodle moodle 2.2.6
moodle moodle 2.2.7
moodle moodle 2.2.8
moodle moodle 2.2.9
moodle moodle 2.2.10
moodle moodle 2.3.0
moodle moodle 2.3.1
moodle moodle 2.3.2
moodle moodle 2.3.3
moodle moodle 2.3.4
moodle moodle 2.3.5
moodle moodle 2.3.6
moodle moodle 2.3.7
moodle moodle 2.3.8
moodle moodle 2.4.0
moodle moodle 2.4.1
moodle moodle 2.4.2
moodle moodle 2.4.3
moodle moodle 2.4.4
moodle moodle 2.4.5
moodle moodle 2.5.0
moodle moodle 2.5.1

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "7F226B7E-09C3-4E84-97E2-2A1E030763CB",
              "versionEndIncluding": "2.2.11",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "15A73CE2-73DA-4274-89E0-DD9A413ED17F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "39075F6E-2925-4897-B1DE-C86A066DF54B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "179DBC2B-B35F-4A19-B522-DF996D5E13E4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "FA527724-B44E-46B6-BA53-A83B012EA376",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "31A8CAEA-CCCF-4678-B61E-0FFE439890DB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "3C22E1EB-57DA-4E3C-BF38-29E2F50AEBF2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "25F99A03-DD94-4380-8E6B-C95D3A57D6EF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "54ED2D6B-48F7-444D-8EC7-C51719F970CC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "36B291C0-7E41-4073-AFFF-CFEFEDDFD6A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "4E36C4AB-0599-40A3-BD80-4DDB1631A604",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.2.10:*:*:*:*:*:*:*",
              "matchCriteriaId": "A04348FF-A3BE-4063-A208-27C3E46B67EF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "BFD575CF-2AF2-443F-841D-F7E25FBD455A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "AC2A1954-E30F-40EC-BA59-40D29573E7D6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "25EA194F-BE9D-49A8-AA35-FC7810C06643",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "2C3888D8-8219-4DE4-8E6C-84F58AFD3B15",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "E15AADAA-EFF5-4116-A683-D2B9824AA353",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "C917E5A8-ABE8-4F01-8580-329836CC2C55",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "70C08FF1-BAA7-4534-98E4-80231C25BC83",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "025832C9-F1A4-4935-892A-8868E401906E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.3.8:*:*:*:*:*:*:*",
              "matchCriteriaId": "D2F95290-BFA3-470A-888C-E1896DD466F3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.4.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "B8E52813-E056-4A5C-8BF5-4DD5EF5BF041",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.4.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "62156008-2728-4207-AF60-E6330421D102",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.4.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "094DCC66-8C95-4DD6-B8DD-FB2D46A2A847",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.4.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "D27EBAD4-F6F3-4E6A-8E42-EBB36655376D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.4.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "93169BDD-4F0B-44C9-96C4-5BD0839A9BA4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.4.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "DC1ED608-B1D0-4FFF-B67F-69451C2526C0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.5.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "CD1B5B42-ECA9-4888-B18E-AD8D282311DB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:moodle:moodle:2.5.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "9EF03304-032C-4E85-A802-7CDAC89216FA",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "repository/s3/S3.php in the Amazon S3 library in Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, and 2.5.x before 2.5.2 does not verify that the server hostname matches a domain name in the subject\u0027s Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to an incorrect CURLOPT_SSL_VERIFYHOST value."
    },
    {
      "lang": "es",
      "value": "repository/s3/S3.php en Amazon S3 library en Moodle de la 2.2.11, 2.3.x anterior a 2.3.9, 2.4.x anterior a 2.4.6, y  2.5.x anterior a 2.5.2, no verifica que el nombre de host coincida con el nombre de dominio en el Common Name (CN) o el campo subjectAltName del certificado X.509, lo que permite a atacantes \"man-in-the-middle\" suplantar a los servidores SSL a trav\u00e9s de un certificado v\u00e1lido de su elecci\u00f3n, relacionado con un valor incorrecto de CURLOPT_SSL_VERIFYHOST."
    }
  ],
  "id": "CVE-2012-6087",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "NONE",
          "baseScore": 5.8,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:N",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 4.9,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2013-09-16T13:02:48.050",
  "references": [
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch"
      ],
      "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-40615"
    },
    {
      "source": "secalert@redhat.com",
      "url": "http://www.openwall.com/lists/oss-security/2013/01/03/1"
    },
    {
      "source": "secalert@redhat.com",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://moodle.org/mod/forum/discuss.php?d=238393"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch"
      ],
      "url": "http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-40615"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2013/01/03/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://moodle.org/mod/forum/discuss.php?d=238393"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-20"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


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 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…