gsd-2019-11229
Vulnerability from gsd
Modified
2023-12-13 01:24
Details
models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2019-11229",
    "description": "models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.",
    "id": "GSD-2019-11229",
    "references": [
      "https://packetstormsecurity.com/files/cve/CVE-2019-11229"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2019-11229"
      ],
      "details": "models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.",
      "id": "GSD-2019-11229",
      "modified": "2023-12-13T01:24:02.467738Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2019-11229",
        "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": "models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3",
            "refsource": "MISC",
            "url": "https://github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3"
          },
          {
            "name": "https://github.com/go-gitea/gitea/releases/tag/v1.7.6",
            "refsource": "MISC",
            "url": "https://github.com/go-gitea/gitea/releases/tag/v1.7.6"
          },
          {
            "name": "http://packetstormsecurity.com/files/160833/Gitea-1.7.5-Remote-Code-Execution.html",
            "refsource": "MISC",
            "url": "http://packetstormsecurity.com/files/160833/Gitea-1.7.5-Remote-Code-Execution.html"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "_git_import_path": "go/github.com/go-gitea/gitea",
          "affected_range": "\u003cv1.7.6 || =v1.8.0",
          "affected_versions": "All versions before 1.7.6, version 1.8.0",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2019-04-16",
          "description": "`models/repo_mirror.go` in Gitea mishandles mirror repo URL settings, leading to remote code execution.",
          "fixed_versions": [
            "v1.7.6",
            "v1.8.1"
          ],
          "identifier": "CVE-2019-11229",
          "identifiers": [
            "CVE-2019-11229"
          ],
          "not_impacted": "All versions starting from 1.7.6 before 1.8.0, all versions after 1.8.0",
          "package_slug": "go/github.com/go-gitea/gitea",
          "pubdate": "2019-04-15",
          "solution": "Upgrade to versions 1.7.6, 1.8.1 or above.",
          "title": "Improper Input Validation",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2019-11229"
          ],
          "uuid": "c26f8ba5-ff88-4215-be4c-c022df798ab3",
          "versions": [
            {
              "commit": {
                "sha": "c09c44ae48a6b0eaca937c4888ce2bb041a8a91f",
                "tags": [
                  "v1.7.6"
                ],
                "timestamp": "20190413041200"
              },
              "number": "v1.7.6"
            },
            {
              "commit": {
                "sha": "d4da1e304c3c343df1d6dcf2bc6a5f0fb0e383bf",
                "tags": [
                  "v1.8.0"
                ],
                "timestamp": "20190420192324"
              },
              "number": "v1.8.0"
            },
            {
              "commit": {
                "sha": "c0e97d066c4c4f899c0b7d949c8510fef1b7d1e2",
                "tags": [
                  "v1.8.1"
                ],
                "timestamp": "20190508165805"
              },
              "number": "v1.8.1"
            }
          ]
        },
        {
          "affected_range": "\u003cv1.7.6",
          "affected_versions": "All versions before 1.7.6",
          "cvss_v2": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2022-04-12",
          "description": "models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.",
          "fixed_versions": [
            "v1.7.6"
          ],
          "identifier": "CVE-2019-11229",
          "identifiers": [
            "GHSA-hpmr-prr2-cqc4",
            "CVE-2019-11229"
          ],
          "not_impacted": "All versions starting from 1.7.6",
          "package_slug": "go/github.com/go-gitea/gitea/models",
          "pubdate": "2022-02-15",
          "solution": "Upgrade to version 1.7.6 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2019-11229",
            "https://github.com/go-gitea/gitea/pull/6593",
            "https://github.com/go-gitea/gitea/pull/6595",
            "https://github.com/go-gitea/gitea/releases/tag/v1.7.6",
            "https://github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3",
            "https://www.exploit-db.com/exploits/49383",
            "http://packetstormsecurity.com/files/160833/Gitea-1.7.5-Remote-Code-Execution.html",
            "https://github.com/advisories/GHSA-hpmr-prr2-cqc4"
          ],
          "uuid": "1eae70da-909e-4348-b234-f8b3ea8fd4ab",
          "versions": [
            {
              "commit": {
                "sha": "c09c44ae48a6b0eaca937c4888ce2bb041a8a91f",
                "tags": [
                  "v1.7.6"
                ],
                "timestamp": "20190413021200"
              },
              "number": "v1.7.6"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:gitea:gitea:1.8.0:rc2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:gitea:gitea:1.8.0:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.7.6",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2019-11229"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3"
            },
            {
              "name": "https://github.com/go-gitea/gitea/releases/tag/v1.7.6",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-gitea/gitea/releases/tag/v1.7.6"
            },
            {
              "name": "http://packetstormsecurity.com/files/160833/Gitea-1.7.5-Remote-Code-Execution.html",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://packetstormsecurity.com/files/160833/Gitea-1.7.5-Remote-Code-Execution.html"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 8.0,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2021-02-04T13:52Z",
      "publishedDate": "2019-04-15T12:31Z"
    }
  }
}


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.