{"items":[{"id":"NVI-00003036","kind":"vulnerability","title":"spomky-labs/otphp: Mass-assignment in Factory::loadFromProvisioningUri lets a hostile provisioning URI corrupt OTP state or leak an uncaught TypeError","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-2jx3-65f3-xr8r"],"plain_summary":"GitHub lists this reviewed advisory for spomky-labs/otphp. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-6bf8d4688c9609962d065df028a42b2b"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 11.4.3 for spomky-labs/otphp. Confirm the publisher’s latest guidance.","source_ids":["sr-300fe33002e9cc8e5603f21d766dd8a5"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-6bf8d4688c9609962d065df028a42b2b","url":"https://github.com/advisories/GHSA-2jx3-65f3-xr8r","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-2jx3-65f3-xr8r","publisher":"GitHub Advisory Database","observed_at":"2026-11-06T07:19:16.585Z"},{"id":"sr-300fe33002e9cc8e5603f21d766dd8a5","url":"https://github.com/advisories/GHSA-2jx3-65f3-xr8r","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-2jx3-65f3-xr8r","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.641Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-6bf8d4688c9609962d065df028a42b2b"],"technology":"spomky-labs/otphp","known_exclusions":[],"conditions_summary":"## Summary\n\n`OTPHP\\Factory::loadFromProvisioningUri()` parses an attacker-supplied `otpauth://` URI and forwards **every** query key to `OTP::setParameter($key, $value)`. `setParameter()` resolves the name with `property_exists($this, $parameter)` and performs a dynamic write `$this->{$parameter} = $value` (`src/OTP.php:196-197`). Because the query keys are entirely controlled by whoever produced the URI, a URI can target the internal properties of the OTP object that are not meant to be set from a URI: `parameters`, `issuer`, `label`, `issuer_included_as_parameter`, and (on TOTP) the readonly `clock`. This is an instance of object property mass-assignment (CWE-915).\n\n## Impact\n\nThe `Factory` is documented as the entry point for third-party provisioning URIs (e.g. QR codes from Microsoft 365 / Google Authenticator). An application that loads such a URI is exposed to:\n\n- **State corruption.** A URI such as `otpauth://totp/Alice?secret=JBSWY3DPEHPK3PXP&parameters[foo]=bar` overwrites the whole internal `$parameters` array that `createFromSecret()` primed (`period`, `algorithm`, `digits`, `epoch`). The resulting object is silently unusable: `getProvisioningUri()`, `getDigits()`, `at()","public_affected_ranges":["< 11.4.3"]},{"certainty":"source_listed","source_ids":["sr-300fe33002e9cc8e5603f21d766dd8a5"],"technology":"spomky-labs/otphp","known_exclusions":[],"conditions_summary":"## Summary\n\n`OTPHP\\Factory::loadFromProvisioningUri()` parses an attacker-supplied `otpauth://` URI and forwards **every** query key to `OTP::setParameter($key, $value)`. `setParameter()` resolves the name with `property_exists($this, $parameter)` and performs a dynamic write `$this->{$parameter} = $value` (`src/OTP.php:196-197`). Because the query keys are entirely controlled by whoever produced the URI, a URI can target the internal properties of the OTP object that are not meant to be set from a URI: `parameters`, `issuer`, `label`, `issuer_included_as_parameter`, and (on TOTP) the readonly `clock`. This is an instance of object property mass-assignment (CWE-915).\n\n## Impact\n\nThe `Factory` is documented as the entry point for third-party provisioning URIs (e.g. QR codes from Microsoft 365 / Google Authenticator). An application that loads such a URI is exposed to:\n\n- **State corruption.** A URI such as `otpauth://totp/Alice?secret=JBSWY3DPEHPK3PXP&parameters[foo]=bar` overwrites the whole internal `$parameters` array that `createFromSecret()` primed (`period`, `algorithm`, `digits`, `epoch`). The resulting object is silently unusable: `getProvisioningUri()`, `getDigits()`, `at()","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 11.4.3"]}],"null_published_at":"2026-11-08T15:11:47.516Z","source_updated_at":"2026-06-18T21:07:42.000Z","source_disclosed_at":"2026-06-18T21:07:41.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:49.641Z"},{"id":"NVI-00003036","kind":"vulnerability","title":"spomky-labs/otphp: Mass-assignment in Factory::loadFromProvisioningUri lets a hostile provisioning URI corrupt OTP state or leak an uncaught TypeError","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-2jx3-65f3-xr8r"],"plain_summary":"OSV carries this publisher advisory for spomky-labs/otphp. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 11.4.3 for spomky-labs/otphp. Confirm the publisher’s latest guidance.","source_ids":["sr-300fe33002e9cc8e5603f21d766dd8a5"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-300fe33002e9cc8e5603f21d766dd8a5","url":"https://github.com/advisories/GHSA-2jx3-65f3-xr8r","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-2jx3-65f3-xr8r","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.641Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-300fe33002e9cc8e5603f21d766dd8a5"],"technology":"spomky-labs/otphp","known_exclusions":[],"conditions_summary":"## Summary\n\n`OTPHP\\Factory::loadFromProvisioningUri()` parses an attacker-supplied `otpauth://` URI and forwards **every** query key to `OTP::setParameter($key, $value)`. `setParameter()` resolves the name with `property_exists($this, $parameter)` and performs a dynamic write `$this->{$parameter} = $value` (`src/OTP.php:196-197`). Because the query keys are entirely controlled by whoever produced the URI, a URI can target the internal properties of the OTP object that are not meant to be set from a URI: `parameters`, `issuer`, `label`, `issuer_included_as_parameter`, and (on TOTP) the readonly `clock`. This is an instance of object property mass-assignment (CWE-915).\n\n## Impact\n\nThe `Factory` is documented as the entry point for third-party provisioning URIs (e.g. QR codes from Microsoft 365 / Google Authenticator). An application that loads such a URI is exposed to:\n\n- **State corruption.** A URI such as `otpauth://totp/Alice?secret=JBSWY3DPEHPK3PXP&parameters[foo]=bar` overwrites the whole internal `$parameters` array that `createFromSecret()` primed (`period`, `algorithm`, `digits`, `epoch`). The resulting object is silently unusable: `getProvisioningUri()`, `getDigits()`, `at()","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 11.4.3"]}],"null_published_at":"2026-10-31T22:12:38.472Z","source_updated_at":"2026-09-10T03:51:07.509Z","source_disclosed_at":"2026-06-18T21:07:41.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:49.641Z"}],"next_cursor":null,"snapshot_revision":"42594"}