Forum Replies Created
Author | Posts |
---|---|
January 12, 2015 at 3:55 pm in reply to:
WARNING! Dokan major security issue 33943 | |
Yann | I do confirm the major security issues have been fixed in the latest version of the Dokan plugin. |
October 28, 2014 at 2:14 pm in reply to:
WARNING! Dokan major security issue 29237 | |
Yann | @Mahi I just answered your email with details and a proposed security fix for this issue. Please update the plugin and advise all your users to upgrade. |
October 28, 2014 at 1:23 am in reply to:
WARNING! Dokan major security issue 29203 | |
Yann | Update 2: you can also wipe out all pages and articles of the site, and retitle all media. You do not need to be connected to the site. This can be performed automatically from anywhere in the world. You just need to know the address of the site, and that the Dokan plugin is installed. I advise all users to deactivate the Dokan plugin at once until it is fixed! |
October 28, 2014 at 12:23 am in reply to:
Dokan PHP bugs 29197 | |
Yann | One of your functions is just incredibly dangerous http://wedevs.com/support/topic/warning-dokan-major-security-issue You need to implement Nonces, check for appropriate user credentials when handling POST requests, etc. http://codex.wordpress.org/WordPress_Nonces As is, this code is totally unprofessional, and a tue security hazard for any user of the Dokan plugin. This needs to be patched ASAP, and all users must be warned! Your plugin is a security threat fo the WordPress community. Totally unappropriate for e-commerce. I have a fixed version of the function if needed. I cannot give any more details here because of the security threat if the exploit is revealed. |
October 28, 2014 at 12:20 am in reply to:
Dokan PHP bugs 29196 | |
Yann | @Mahmoud: please do not use this bug reporting topic for conversation. Unfortunately I have no time to give free help. |
October 27, 2014 at 11:49 pm in reply to:
WARNING! Dokan major security issue 29191 | |
Yann | update: you do not even need the product URL. You can just wipe out all products one by one. |
October 27, 2014 at 10:09 pm in reply to:
WARNING! Dokan major security issue 29184 | |
Yann | If you’re using the Dokan plugin, your site is unfit for launch. Any product on a live Dokan site can be brought down, you just need the products’ public URL for that. |
October 27, 2014 at 10:06 pm in reply to:
WARNING! Dokan major security issue 29183 | |
Yann | Yes, this is quite ironic. WordPress & Woocommerce are quite safe for e-commerce, but the Dokan plugin makes WordPress and WC completely unsafe because of really poor programming. They should have taken time to review their PHP code instead of writing such a piece of propaganda. (I’m not one of “those guys”, I was just investigating / correcting / debugging this product for one of my clients and now we just came to the conclusion that we are facing potential disaster if we carry on with this plugin.) |
October 27, 2014 at 10:03 pm in reply to:
WARNING! Dokan major security issue 29182 | |
Yann | This vulnerability puts all site content at risk, not only products, but any WordPress content (articles, pages,…). I cannot give more details here for obvious security reasons, because this would put all sites using the Dokan plugin in jeopardy right away. Dokan developers: please contact me ASAP for details (use my e-mail address). Only the Dokan plugin has this vulnerability, the legacy Dokan theme does not seem to have this problem. |
October 27, 2014 at 7:50 pm in reply to:
Dokan PHP bugs 29172 | |
Yann | [suppressed] |
October 24, 2014 at 12:06 am in reply to:
Dokan PHP bugs 28983 | |
Yann | Dashboard reports page breaks when the dashboard template files are overridden This is because of this include in the reports.php template: require_once dirname( dirname(__FILE__) ) . ‘/includes/reports.php’; This is wrong, because when the templates are overridden, they are no longer in the Dokan plugin directory, they are in a subdirectory of the theme, so this relative path-based include can never work! It can be corrected this way: require_once( WP_PLUGIN_DIR . ‘/dokan/includes/reports.php’ ); |
October 23, 2014 at 5:02 pm in reply to:
Dokan PHP bugs 28956 | |
Yann | Product edit page in the dashboard is broken for published products. This is because depending on the context, the product-edit.php template is either loaded inside the shortcode (when the product is not published) or standing alone by itself (when the product is published). Of course this is completely wrong. Since the dashboard is now loaded inside a page context in a shortcode, you should not load the product-edit template as a standalone page. You have to correct this function: We cannot use this kind of URL anymore : We always have to load the product edit template inside the dashboard shortcode! So you must correct the function to completely bypass the old kind of URL, even when the product is published: /** return add_query_arg( array( ‘product_id’ => $product_id, ‘action’ => ‘edit’ ), dokan_get_navigation_url(‘products’) ); NOTICE the if( false &&… ) to bypass first test. We don’t want this! You can also simply delete lines 708-710. NOTE: I am not sure yet if this fix has consequences elsewhere on product edit links or buttons outside the dashboard. However it is not possible to edit products outside of the dashboard anymore because of the shortcode-based dashboard in the Dokan plugin. So this has to be fixed everywhere there is a product edit link anyway. |
October 23, 2014 at 4:53 pm in reply to:
Dokan PHP bugs 28955 | |
Yann | Dashboard product listing pagination is broken in the Dokan plugin. This is because you use a WordPress rewrite_endpoint to implement dashboard sub-pages URLs in the plugin, and WP endpoints do not support pagination. So again this is a major bug due to wrong implementation of shortcode/endpoint based dashboard admin pages in the plugin. Since there is no way to implement pagination on WP endpoints, you have to add wp rewrite_rules somewhere to support pagination. Such as this: /** add_rewrite_tag( ‘%fake_page%’, ‘([^&]+)’); add_rewrite_rule( public function handle_redirect() { NOTE: this is just a rough code example, the rewrite rule could be better written to include the actual dashboard slug at the beginning, and there must be some way to determine the right template to use based on dokan_get_option( $page, ‘dokan_pages’ ) and the _wp_page_template meta… However I implemented it to fix our site and it works. |
October 22, 2014 at 10:08 pm in reply to:
Dokan plugin Dashboard Front-end template 28891 | |
Yann | @Sekander : thanks. I will continue tracking the issue in the original thread. |
October 22, 2014 at 10:05 pm in reply to:
Dokan PHP bugs 28890 | |
Yann | Thanks! I will post again in this topic if I find any other bug. |