WP Manifestindependent plugin directory
manifest / content / bookmark-manager

Bookmark Manager WP Registry grade B. Medium-severity findings · 1 findingWP RegistryMedium-severity findings · 1 findingOpen the reportB

WordPress plugin for managing bookmarks

★ 17stars
108release downloads
v0.1.1latest · never

Install

Download v0.1.1.zip From the v0.1.1 release on GitHub, Jun 26, 2017

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/obstschale/bookmark-manager/releases/download/v0.1.1/v0.1.1.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Codeship Status for obstschale/bookmark-manager

WordPress Plugin

Bookmark Manager is a plugin for WordPress. Use your WordPress site as bookmark manager to save and manage web links. A bookmarklet helps you to save links while you browse the web.

Installation

There are two ways to install the plugin:

  1. Download the latest version as ZIP from bookmark-manager/releases (Recommended)
  2. Clone repository and install dependencies (for developers)

Installation for Developers

# cd into wp-content/plugins
$ git clone git@github.com:obstschale/bookmark-manager.git
$ cd bookmark-manager

# Install dependencies
$ composer install
$ yarn # Alternatively, npm install

# Build assets
$ yarn run production

Pitfall - Bookmarklet

When developing locally you likely want to use yarn run dev. This will watch all assests and rebuild them if the change. However, this will not minify the files!

If you need to work on the bookmarklet itself (bookmark-this.js) you will need a minified version otherwise browsers won't accept it. So keep that in mind!

GNU General Public License v2.0

This plugin is licensed under GNU General Public License v2.0. For more information read the LICENSE document.

Releases

2 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v0.1.1 latest
Jun 26, 2017 9 years ago
v0.1.1.zip
93
Jun 25, 2017 9 years ago
v0.1.0.zip
15
B grade

Security

Bookmark Manager 0.1.1 · audited by WP Registry

Medium-severity findings.

1 medium
Audited release
0.1.1
Findings
1
Worst severity
medium
Content hash
9000093fdcbd8d7ada0d900d…

Findings

  • medium Subscriber can add/remove Carbon Fields sidebars with no capability or nonce

    missing_capability

    Composer autoload always includes vendor/carbon-fields/carbon-fields.php, which constructs Helper and Sidebar_Manager::instance() on every request. That registers wp_ajax_carbon_add_sidebar and wp_ajax_carbon_remove_sidebar. action_handler() reads $_POST['name'] and calls add_sidebar()/remove_sidebar(), which update_option('carbon_custom_sidebars', ...), with no current_user_can, no check_ajax_referer, and no nopriv (so any logged-in user, including Subscriber). widgets_init later register_sidebar() for each stored entry. Observable: a Subscriber POST to admin-ajax.php?action=carbon_add_sidebar&name=attacker injects a sidebar; CSRF of any logged-in session does the same because there is no nonce. Limited blast (widget area registration, not site takeover) so medium.

    vendor/carbon-fields/core/Manager/Sidebar_Manager.php:42-133

    Recommendation

    Do not boot Carbon Fields Sidebar_Manager if this plugin does not use sidebar fields, or add current_user_can('edit_theme_options') plus check_ajax_referer to both AJAX actions before update_option. Upgrade the bundled Carbon Fields 1.5 library, which is unmaintained.

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.