WP Manifestindependent plugin directory
manifest / users / wp-cl-oauth

Bonnier OAuth Plugin WP Registry grade D+. High-severity findings · 2 findingsWP RegistryHigh-severity findings · 2 findingsOpen the reportD+

The wordpress plugin for integrating with the Common Login/Profile Universe OAuth flow

★ 0stars
3.4kcomposer installs
2.3.6latest · 2 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/benjaminmedia/wp-cl-oauth/archive/refs/heads/master.zip

On Packagist as benjaminmedia/wp-cl-oauth:

composer require benjaminmedia/wp-cl-oauth
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Bonnier Publications - WordPress Common Login OAuth plugin

This plugin is used as an integration between Common Login (Profile-Universe) and WordPress.

Contributing

To contribute to this plugin make sure to:

  • Update the plugin version in bp-cl-oauth.php
  • Update the JavaScript version in /src/Bonnier/WP/ClOauth/Assets/Scripts.php

Releases

Newest 25 of 60 recorded releases.

Tag
Published
2.3.6 latest
Jan 11, 2024 2 years ago
Oct 11, 2022 4 years ago
Oct 11, 2022 4 years ago
Oct 10, 2022 4 years ago
Oct 7, 2022 4 years ago
Mar 11, 2020 6 years ago
Feb 6, 2020 6 years ago
Jan 17, 2020 6 years ago
Jan 16, 2020 6 years ago
Jan 9, 2020 6 years ago
Oct 7, 2019 7 years ago
Jul 17, 2018 8 years ago
Jul 6, 2018 8 years ago
Jul 6, 2018 8 years ago
Jul 6, 2018 8 years ago
Apr 25, 2018 8 years ago
Apr 6, 2018 8 years ago
Mar 20, 2018 8 years ago
Feb 8, 2018 8 years ago
Feb 8, 2018 8 years ago
Feb 7, 2018 8 years ago
Feb 6, 2018 8 years ago
Feb 6, 2018 8 years ago
Feb 6, 2018 8 years ago
Feb 6, 2018 8 years ago
All releases on GitHub →

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

D+ grade

Security

Bonnier OAuth Plugin 2.3.6 · audited by WP Registry

High-severity findings.

1 high 1 medium
Audited release
2.3.6
Findings
2
Worst severity
high
Content hash
091ecbd2af34ca2efb0698ab…

Findings

  • high Open redirect via unvalidated redirect_uri on OAuth login/logout

    unsafe_input

    Routes::login accepts redirect_uri from the request without allowlisting against home_url, stores it in $_SESSION['oauth2redirect'], and redirects there after successful callback (and immediately if already authenticated). logout passes redirect_uri into the external logout URL. An unauthenticated attacker can phish users through the site OAuth flow to an attacker-controlled URL.

    src/Http/Routes.php:87-100

    Recommendation

    Allowlist redirect_uri to same-site paths (wp_validate_redirect / wp_safe_redirect semantics) before storing or issuing redirects.

  • medium REST OAuth routes registered without permission_callback

    missing_permission_callback

    register_rest_route calls for login/register/callback/logout/subscription omit permission_callback. On older WP this defaults to public; on WP 5.5+ it triggers _doing_it_wrong. The subscription POST endpoint especially should explicitly define who may call it.

    src/Http/Routes.php:43-59

    Recommendation

    Set permission_callback to __return_true for intentional public OAuth endpoints, and a logged-in/token check for subscription updates.

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.