WP Manifestindependent plugin directory
manifest / ecommerce / get-id-verified

Get Id Verified WP Registry grade D. High-severity findings · 5 findingsWP RegistryHigh-severity findings · 5 findingsOpen the reportD

Id Verification for Woocommerce in Wordpress

★ 0stars
33release downloads
≈10active sites
1.0.1latest · 5 years ago

Install

Download get-id-verified.zip From the 1.0.1 release on GitHub, Mar 30, 2021

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

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ghiobi/get-id-verified/releases/download/1.0.1/get-id-verified.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Get Id Verification for Woocommerce

Description

A Woocommerce plugin that allows merchants to verify the customers by their uploaded verification id.

Features

  • Persist verifications for returning customers.
  • Quick guest checkout.
  • Secure storage of identification images.
  • Supports jpg, jpeg, and png images uploads.
  • Zero dependencies

Future features:

  • Add Option for uploads to be optional. (Please contact me to speed this up +1).
  • For more features, please contact me.

Installation

Requirements.

  • Requires GD2 PHP extension.
  • Woocommerce

This section describes how to install the plugin and get it working.

e.g.

  1. Down the zip file from the release page above.
  2. Upload get-id-verified.zip in the Plugins section of WordPress.
  3. Activate the plugin through the 'Plugins' menu in WordPress.

Customizations

Actions:

  • giv_before_upload_widget: A message above the upload widget.

Filters:

  • giv_add_validation_notice: Message sent to user when they dont upload a verification id.
  • giv_add_checkout_notice: Message sent to user to notify them that their id will be verified.
  • giv_upload_widget_header: Upload widget header.

Screenshots

Image 1 Image 2 Image 3 Image 4

Releases

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

Tag
Published
Assets
Downloads
1.0.1 latest
Mar 30, 2021 5 years ago
get-id-verified.zip
23
May 22, 2020 6 years ago
get-id-verified.zip
10

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.

D grade

Security

Get Id Verified 1.0.1 · audited by WP Registry

High-severity findings.

4 high 1 medium
Audited release
1.0.1
Findings
5
Worst severity
high
Content hash
896a1bb7e390ad73f5fa9b77…

Findings

  • high REST routes registered without permission_callback (public by default)

    missing_permission_callback

    register_rest_route for giv/v1/image (GET and POST) omits permission_callback. WordPress treats missing callbacks as publicly accessible. Combined with handler logic this exposes unauthenticated ID-image upload and (with tmp=true) unauthenticated retrieval of temporary government-ID images.

    includes/class.get-id-verified-rest.php:31-33

    Recommendation

    Add explicit permission_callback closures: require login (and ownership/cap) for GET of non-temp images; for POST upload either require checkout session auth or rate-limit and still avoid world-readable temp retrieval without a secret.

  • high Unauthenticated ID image upload to uploads/.tmp

    missing_auth

    upload_id_image() performs no authentication. Any visitor can POST multipart JPG/PNG up to 15MB; files land under wp-content/uploads/giv_uploads/.tmp with a 64-char id. Enables disk-fill DoS and plants files later attached to orders/users via checkout POST of the returned id.

    includes/class.get-id-verified-rest.php:87-124

    Recommendation

    Require authentication or a short-lived checkout capability token; enforce per-IP rate limits and quota; do not return a globally fetchable id without a secret.

  • high Path traversal in REST image id allows reading arbitrary .jpg under uploads

    file_access

    Route captures id as [^\s]+ and concatenates into get_image_abs_temp_path/get_image_abs_path without sanitizing '..'. With tmp=true the GET handler skips auth, so an unauthenticated client can request id values like '../../2024/01/secret' and read other JPEG files under the uploads tree. Permanent path similarly concatenates attacker-controlled id after a weak ownership check.

    includes/class.get-id-verified-utils.php:49-60

    Recommendation

    Reject ids that are not [A-Za-z0-9]{32,64}; resolve realpath and assert the result stays under the intended directory before readfile.

  • high Subscriber can self-mark ID-verified via profile_update

    missing_capability

    process_verification_user_profile runs on profile_update and only checks is_admin(), not edit_users/manage_options. A Subscriber updating their own profile in wp-admin can POST giv_verified_checkbox=1 and set_verified() writes user meta GIV_USER_IS_VERIFIED, skipping the admin checkbox UI (hooked only on edit_user_profile for other users). Verified users bypass checkout ID upload requirements.

    admin/class-get-id-verified-admin.php:128-134

    Recommendation

    Require current_user_can('edit_user', $user_id) or manage_woocommerce/manage_options before updating verification meta; ignore the checkbox on show_user_profile/self-edits.

  • medium Stored attribute-breakout via image id echoed in admin preview

    xss_stored

    Checkout/account flows accept an image id (sanitize_text_field) and store it in user meta. Admin partials echo get_image_url_path($id) into href/src without escaping. sanitize_text_field does not neutralize quotes, so a crafted id can break out of the attribute in image_preview.php when an admin views the user.

    admin/partials/image_preview.php:1-4

    Recommendation

    Restrict ids to a safe charset; escape with esc_url() on output; never interpolate raw ids into HTML attributes.

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.