CVE-2012-1657 (GCVE-0-2012-1657)

Vulnerability from cvelistv5 – Published: 2012-09-18 20:00 – Updated: 2024-08-06 19:01
VLAI
Summary
Cross-site scripting (XSS) vulnerability in block_class.module in the Block Class module before 7.x-1.1 for Drupal allows remote authenticated users with certain permissions to inject arbitrary web script or HTML via the class name.
Severity
No CVSS data available.
CWE
  • n/a
References
URL Tags
http://www.securityfocus.com/bid/52341 vdb-entryx_refsource_BID
http://www.osvdb.org/79851 vdb-entryx_refsource_OSVDB
http://secunia.com/advisories/48298 third-party-advisoryx_refsource_SECUNIA
http://drupal.org/node/1471090 x_refsource_CONFIRM
http://www.openwall.com/lists/oss-security/2012/04/07/1 mailing-listx_refsource_MLIST
http://drupalcode.org/project/block_class.git/com… x_refsource_CONFIRM
https://exchange.xforce.ibmcloud.com/vulnerabilit… vdb-entryx_refsource_XF
http://drupal.org/node/1471808 x_refsource_MISC
Date Public
2012-03-07 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T19:01:02.975Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "52341",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/52341"
          },
          {
            "name": "79851",
            "tags": [
              "vdb-entry",
              "x_refsource_OSVDB",
              "x_transferred"
            ],
            "url": "http://www.osvdb.org/79851"
          },
          {
            "name": "48298",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/48298"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://drupal.org/node/1471090"
          },
          {
            "name": "[oss-security] 20120406 CVE\u0027s for Drupal Contrib 2012 001 through 057 (67 new CVE assignments)",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2012/04/07/1"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://drupalcode.org/project/block_class.git/commit/9a5205d"
          },
          {
            "name": "blockclass-addmod-class-xss(73776)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73776"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://drupal.org/node/1471808"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2012-03-07T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "Cross-site scripting (XSS) vulnerability in block_class.module in the Block Class module before 7.x-1.1 for Drupal allows remote authenticated users with certain permissions to inject arbitrary web script or HTML via the class name."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-08-28T12:57:01.000Z",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "52341",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/52341"
        },
        {
          "name": "79851",
          "tags": [
            "vdb-entry",
            "x_refsource_OSVDB"
          ],
          "url": "http://www.osvdb.org/79851"
        },
        {
          "name": "48298",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/48298"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://drupal.org/node/1471090"
        },
        {
          "name": "[oss-security] 20120406 CVE\u0027s for Drupal Contrib 2012 001 through 057 (67 new CVE assignments)",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2012/04/07/1"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://drupalcode.org/project/block_class.git/commit/9a5205d"
        },
        {
          "name": "blockclass-addmod-class-xss(73776)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73776"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://drupal.org/node/1471808"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2012-1657",
          "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": "Cross-site scripting (XSS) vulnerability in block_class.module in the Block Class module before 7.x-1.1 for Drupal allows remote authenticated users with certain permissions to inject arbitrary web script or HTML via the class name."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "52341",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/52341"
            },
            {
              "name": "79851",
              "refsource": "OSVDB",
              "url": "http://www.osvdb.org/79851"
            },
            {
              "name": "48298",
              "refsource": "SECUNIA",
              "url": "http://secunia.com/advisories/48298"
            },
            {
              "name": "http://drupal.org/node/1471090",
              "refsource": "CONFIRM",
              "url": "http://drupal.org/node/1471090"
            },
            {
              "name": "[oss-security] 20120406 CVE\u0027s for Drupal Contrib 2012 001 through 057 (67 new CVE assignments)",
              "refsource": "MLIST",
              "url": "http://www.openwall.com/lists/oss-security/2012/04/07/1"
            },
            {
              "name": "http://drupalcode.org/project/block_class.git/commit/9a5205d",
              "refsource": "CONFIRM",
              "url": "http://drupalcode.org/project/block_class.git/commit/9a5205d"
            },
            {
              "name": "blockclass-addmod-class-xss(73776)",
              "refsource": "XF",
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73776"
            },
            {
              "name": "http://drupal.org/node/1471808",
              "refsource": "MISC",
              "url": "http://drupal.org/node/1471808"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2012-1657",
    "datePublished": "2012-09-18T20:00:00.000Z",
    "dateReserved": "2012-03-12T00:00:00.000Z",
    "dateUpdated": "2024-08-06T19:01:02.975Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2012-1657",
      "date": "2026-09-22",
      "epss": "0.01607",
      "percentile": "0.74828"
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:5.x-1.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9E6FC3B5-64D3-482E-B28F-75D8A73D17EC",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:5.x-1.0:rc:*:*:*:*:*:*",
                    "matchCriteriaId": "554F8AE2-1404-44BA-971F-B140DE95F836",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:5.x-1.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BBA36D57-9BF9-48DE-BED2-69F19455111D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:5.x-1.x:dev:*:*:*:*:*:*",
                    "matchCriteriaId": "93B17A40-C151-4DA2-8ED0-BFFD80137102",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:6.x-1.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5C3EAC09-AD61-4BEC-8AA6-0190BCE08C19",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:6.x-1.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E8FDD5A5-5957-4373-9900-BA5FAF71EEC9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:6.x-1.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "82DB54D3-EC4C-4D03-AEC7-4C6308CEFC9D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:6.x-1.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7C96BABD-0873-4C62-9AC7-B01355FBB76D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:6.x-1.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A56CF89B-8718-4970-ABDF-0E7E59A298B7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:6.x-1.4:beta1:*:*:*:*:*:*",
                    "matchCriteriaId": "865810AE-640A-4EAE-91FD-27D8C517C26C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:6.x-1.x:dev:*:*:*:*:*:*",
                    "matchCriteriaId": "EE0149B5-DAF8-4F1A-8B64-9879C3978B1C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:6.x-2.x:dev:*:*:*:*:*:*",
                    "matchCriteriaId": "9A802E1B-0DE0-4BA6-A91A-75AC29F49F0D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:7.x-1.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "24F35555-BC92-4475-AA05-7D6E06B6614B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:fourkitchens:block_class:7.x-1.x:dev:*:*:*:*:*:*",
                    "matchCriteriaId": "1715D2CB-6246-44FD-84B7-D84D1AD07D2B",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              },
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:drupal:drupal:-:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F8B1170D-AD33-4C7A-892D-63AC71B032CF",
                    "vulnerable": false
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ],
            "operator": "AND"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Cross-site scripting (XSS) vulnerability in block_class.module in the Block Class module before 7.x-1.1 for Drupal allows remote authenticated users with certain permissions to inject arbitrary web script or HTML via the class name."
          },
          {
            "lang": "es",
            "value": "Vulnerabilidad de ejecuci\u00f3n de secuencias de comandos en sitios cruzados (XSS) en block_class.module en el m\u00f3dulo Block Class antes de v7.x-1.1 para Drupal, permite a usuarios autenticados remotamente, con algunos permisos, inyectar secuencias de comandos web o HTML a trav\u00e9s del nombre de clase."
          }
        ],
        "id": "CVE-2012-1657",
        "lastModified": "2026-04-29T01:13:23.040",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "LOW",
              "cvssData": {
                "accessComplexity": "HIGH",
                "accessVector": "NETWORK",
                "authentication": "SINGLE",
                "availabilityImpact": "NONE",
                "baseScore": 2.1,
                "confidentialityImpact": "NONE",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:N/AC:H/Au:S/C:N/I:P/A:N",
                "version": "2.0"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": true
            }
          ]
        },
        "published": "2012-09-18T20:55:01.880",
        "references": [
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Patch"
            ],
            "url": "http://drupal.org/node/1471090"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "http://drupal.org/node/1471808"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://drupalcode.org/project/block_class.git/commit/9a5205d"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://secunia.com/advisories/48298"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.openwall.com/lists/oss-security/2012/04/07/1"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.osvdb.org/79851"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Patch"
            ],
            "url": "http://www.securityfocus.com/bid/52341"
          },
          {
            "source": "secalert@redhat.com",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73776"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "http://drupal.org/node/1471090"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "http://drupal.org/node/1471808"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://drupalcode.org/project/block_class.git/commit/9a5205d"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://secunia.com/advisories/48298"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.openwall.com/lists/oss-security/2012/04/07/1"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.osvdb.org/79851"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "http://www.securityfocus.com/bid/52341"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73776"
          }
        ],
        "sourceIdentifier": "secalert@redhat.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-79"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}



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…