opencredit / badgeos

BadgeOS is a plugin to WordPress that allows you to easily create badges and set up the steps and achievements users take to earn them. Badges are Mozilla OBI compatible and sharable via Credly.
http://www.badgeos.org
GNU Affero General Public License v3.0
92 stars 64 forks source link

Security Vulnerability Detected caused by Badge OS – Where can I deactivate the display_errors? #842

Closed LirieVS closed 3 years ago

LirieVS commented 3 years ago

Description

Thanks in advance for your assistance!

Today I received this error message on our site https://bootcampinstitute.com:

Memberium has detected that your website or web hosting is misconfigured to display errors to the browser... (see full error message below)

I ran our site through Sucuri, and no malware was found and our site is at a low security risk.

I also reached out to our host, WP Engine and they are not familiar with the error.

I then reached out to the Memberium team They concluded:

_We can confirm that after deactivating the BadgeOS Plugin, the error message was gone. It appears BadgeOS is enabling displayerrors. To better assist you, you will need to reach out to BadgeOS support.

Will you please help guide me to next steps? Where can I deactivate the display_errors?

Steps to Reproduce

  1. I'm happy to provide Admin login, just let me know.
  2. Error appears on top of every page in the backend of our site: https://bootcampinstitute.com
  3. See full error message below

Actual result:

I'm not seeing any issues on the front end as of evening of June 18th. However, I'm not sure the full effects this error is causing to our site.

Expected result:

Fix issue so error message does not show in back end. / Deactivate display_errors

Product Versions

Additional Information. See full error message here: https://www.dropbox.com/s/uqzugg3w0j60kz1/BCI%20Error%20view%201.png?dl=0

Thanks so much for your time and any insight!

-lirie@bootcampdigital.com

N/A

StefanB997 commented 3 years ago

Just wanted to open a new issue for this and saw your post. There are error displaying lines (probably forgotten) in the following files:

Look for ini_set( 'display_errors', 'On' ); error_reporting(E_ALL);. I removed them from the plugin and errors no longer appear on the front.

LirieVS commented 3 years ago

Thank you Stefan, The issue has been addressed and the plugin is again working as expected. Thank you for your response.

Lirie