Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-12421

LTB (aka LDAP Tool Box) Self Service Password before 1.3 allows a change to a user password (without knowing the old password) via a crafted POST request, because the ldap_bind return value is mishandled and the PHP data type is not constrained to be a string.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-12421
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:02 UTC · Revision 1

Source evidence

CVE-2018-12421

core-osv · Original source

Published 14 Jun 2018, 19:29 UTC

LTB (aka LDAP Tool Box) Self Service Password before 1.3 allows a change to a user password (without knowing the old password) via a crafted POST request, because the ldap_bind return value is mishandled and the PHP data type is not constrained to be a string.

osv:CVE-2018-12421
Complete source record
{
  "id": "b763f7b57ecd7ccf5d03310c030b1013ef4836e14e89b60bdc14f5a49621a0a7",
  "url": "https://osv.dev/vulnerability/CVE-2018-12421",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-12421",
    "summary": "LTB (aka LDAP Tool Box) Self Service Password before 1.3 allows a change to a user password (without knowing the old password) via a crafted POST request, because the ldap_bind return value is mishandled and the PHP data type is not constrained to be a string.",
    "evidence": "osv:CVE-2018-12421",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-12421",
      "aliases": [
        "CVE-2018-12421"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ltb-project/self-service-password",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e08215827ab737d11e87035551968c4c5cdedd3d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ltb-project:ldap_tool_box_self_service_password:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.2",
            "v1.1",
            "v1.0",
            "0.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12421.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:44.333796026Z",
      "provider": "osv",
      "references": [
        "https://github.com/ltb-project/self-service-password/issues/209",
        "https://github.com/ltb-project/self-service-password/issues/211",
        "https://lists.ltb-project.org/pipermail/ltb-announce/2018-June/000023.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-12421",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380754,
  "published_at": "2018-06-14T19:29:00.217+00:00"
}