Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-25956

In “Dolibarr” application, v3.3.beta1_20121221 to v13.0.2 have “Modify” access for admin level users to change other user’s details but fails to validate already existing “Login” name, while renaming the user “Login”. This leads to complete account takeover of the victim user. This happens since the password gets overwritten for the victim user having a similar login name.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-25956
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:39 UTC · Revision 1

Source evidence

CVE-2021-25956

core-osv · Original source

Published 17 Aug 2021, 15:15 UTC

In “Dolibarr” application, v3.3.beta1_20121221 to v13.0.2 have “Modify” access for admin level users to change other user’s details but fails to validate already existing “Login” name, while renaming the user “Login”. This leads to complete account takeover of the victim user. This happens since the password gets overwritten for the victim user having a similar login name.

osv:CVE-2021-25956
Complete source record
{
  "id": "6f62521dd761892170622fa95019a7e5c8c66a4d7fdb0c5fab3a767efd7ead1b",
  "url": "https://osv.dev/vulnerability/CVE-2021-25956",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-25956",
    "summary": "In “Dolibarr” application, v3.3.beta1_20121221 to v13.0.2 have “Modify” access for admin level users to change other user’s details but fails to validate already existing “Login” name, while renaming the user “Login”. This leads to complete account takeover of the victim user. This happens since the password gets overwritten for the victim user having a similar login name.",
    "evidence": "osv:CVE-2021-25956",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-25956",
      "aliases": [
        "BIT-dolibarr-2021-25956",
        "CVE-2021-25956",
        "GHSA-fjqg-w8g6-hhq8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dolibarr/dolibarr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c4cba43bade736ab89e31013a6ccee59a6e077ee"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "c4cba43bade736ab89e31013a6ccee59a6e077ee"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.0.0-beta",
            "5.0.0-beta",
            "4.0.0-rc",
            "3.8.0-beta",
            "3.7.1",
            "3.7.0",
            "3.6.2",
            "3.6.1",
            "3.6.0",
            "3.6.0-beta",
            "3.6.beta1_20140514",
            "3.6.0-alpha",
            "3.5.beta1_20131120",
            "3.5.beta1_20131106",
            "3.4.beta1_20130502",
            "3.4.beta1_20130429",
            "3.3.beta1_20121221"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25956.json"
          }
        }
      ],
      "modified": "2026-10-24T10:47:54.889722346Z",
      "provider": "osv",
      "references": [
        "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25956",
        "https://github.com/Dolibarr/dolibarr/commit/c4cba43bade736ab89e31013a6ccee59a6e077ee"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:dolibarr:dolibarr:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "dolibarr:dolibarr",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.3.1"
                  },
                  {
                    "last_affected": "13.0.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:3.3.0:beta1:*:*:*:*:*:*",
              "cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:3.3.0:beta2:*:*:*:*:*:*"
            ],
            "vendor_product": "dolibarr:dolibarr_erp/crm",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.3.0-beta1"
                  },
                  {
                    "last_affected": "3.3.0-beta1"
                  },
                  {
                    "introduced": "3.3.0-beta2"
                  },
                  {
                    "last_affected": "3.3.0-beta2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-25956",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441603,
  "published_at": "2021-08-17T15:15:07.823+00:00"
}