gsd-2023-25015
Vulnerability from gsd
Modified
2023-02-01 00:00
Details
Clockwork Web is vulnerable to cross-site request forgery (CSRF) with Rails < 5.2. A CSRF attack works by getting an authorized user to visit a malicious website and then performing requests on behalf of the user. In this instance, actions include enabling and disabling jobs.
Aliases



{
  "GSD": {
    "alias": "CVE-2023-25015",
    "id": "GSD-2023-25015"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "clockwork_web",
            "purl": "pkg:gem/clockwork_web"
          }
        }
      ],
      "aliases": [
        "CVE-2023-25015",
        "GHSA-p4xx-w6fr-c4w9"
      ],
      "details": "Clockwork Web is vulnerable to cross-site request forgery (CSRF) with Rails \u003c 5.2.\n\nA CSRF attack works by getting an authorized user to visit a malicious website and\nthen performing requests on behalf of the user. In this instance, actions include\nenabling and disabling jobs.\n",
      "id": "GSD-2023-25015",
      "modified": "2023-02-01T00:00:00.000Z",
      "published": "2023-02-01T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/ankane/clockwork_web/issues/4"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 6.5,
          "type": "CVSS_V3"
        }
      ],
      "summary": "CSRF Vulnerability with Rails \u003c 5.2"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2023-25015",
        "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": "Clockwork Web before 0.1.2, when Rails before 5.2 is used, allows CSRF."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/ankane/clockwork_web/issues/4",
            "refsource": "CONFIRM",
            "url": "https://github.com/ankane/clockwork_web/issues/4"
          },
          {
            "name": "https://github.com/ankane/clockwork_web/compare/v0.1.1...v0.1.2",
            "refsource": "MISC",
            "url": "https://github.com/ankane/clockwork_web/compare/v0.1.1...v0.1.2"
          },
          {
            "name": "https://github.com/ankane/clockwork_web/commit/ec2896503ee231588547c2fad4cb93a94e78f857",
            "refsource": "MISC",
            "url": "https://github.com/ankane/clockwork_web/commit/ec2896503ee231588547c2fad4cb93a94e78f857"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2023-25015",
      "cvss_v3": 6.5,
      "date": "2023-02-01",
      "description": "Clockwork Web is vulnerable to cross-site request forgery (CSRF) with Rails \u003c 5.2.\n\nA CSRF attack works by getting an authorized user to visit a malicious website and\nthen performing requests on behalf of the user. In this instance, actions include\nenabling and disabling jobs.\n",
      "gem": "clockwork_web",
      "ghsa": "p4xx-w6fr-c4w9",
      "patched_versions": [
        "\u003e= 0.1.2"
      ],
      "title": "CSRF Vulnerability with Rails \u003c 5.2",
      "url": "https://github.com/ankane/clockwork_web/issues/4"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c0.1.2",
          "affected_versions": "All versions before 0.1.2",
          "cwe_ids": [
            "CWE-1035",
            "CWE-352",
            "CWE-937"
          ],
          "date": "2023-02-02",
          "description": "Clockwork Web before 0.1.2, when Rails before 5.2 is used, allows CSRF.",
          "fixed_versions": [
            "0.1.2"
          ],
          "identifier": "CVE-2023-25015",
          "identifiers": [
            "GHSA-p4xx-w6fr-c4w9",
            "CVE-2023-25015"
          ],
          "not_impacted": "All versions starting from 0.1.2",
          "package_slug": "gem/clockwork_web",
          "pubdate": "2023-02-02",
          "solution": "Upgrade to version 0.1.2 or above.",
          "title": "Cross-Site Request Forgery (CSRF)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2023-25015",
            "https://github.com/ankane/clockwork_web/issues/4",
            "https://github.com/ankane/clockwork_web/commit/ec2896503ee231588547c2fad4cb93a94e78f857",
            "https://github.com/ankane/clockwork_web/compare/v0.1.1...v0.1.2",
            "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/clockwork_web/CVE-2023-25015.yml",
            "https://github.com/advisories/GHSA-p4xx-w6fr-c4w9"
          ],
          "uuid": "fa2f5f3c-7911-4b67-847a-2e48834c70ab"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:a:clockwork_web_project:clockwork_web:*:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "versionEndExcluding": "0.1.2",
                    "vulnerable": true
                  }
                ],
                "operator": "OR"
              },
              {
                "children": [],
                "cpe_match": [
                  {
                    "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*",
                    "cpe_name": [],
                    "versionEndExcluding": "5.2.0",
                    "vulnerable": false
                  }
                ],
                "operator": "OR"
              }
            ],
            "cpe_match": [],
            "operator": "AND"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2023-25015"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Clockwork Web before 0.1.2, when Rails before 5.2 is used, allows CSRF."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-352"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/ankane/clockwork_web/commit/ec2896503ee231588547c2fad4cb93a94e78f857",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/ankane/clockwork_web/commit/ec2896503ee231588547c2fad4cb93a94e78f857"
            },
            {
              "name": "https://github.com/ankane/clockwork_web/issues/4",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://github.com/ankane/clockwork_web/issues/4"
            },
            {
              "name": "https://github.com/ankane/clockwork_web/compare/v0.1.1...v0.1.2",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/ankane/clockwork_web/compare/v0.1.1...v0.1.2"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-02-09T18:48Z",
      "publishedDate": "2023-02-02T04:15Z"
    }
  }
}


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…

Loading…