[Skip to main content](#vessel-content)

#   Google Products plugin: browser saves admin login into hidden FTP fields (plain

##

- **[pablop76](/forum/user/59854-pablop76 "View pablop76's Profile")**
- [![pablop76's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59854-pablop76 "View pablop76's Profile") Topic Author
- [ Away](/forum/user/59854-pablop76)

Less More

- Posts: 6
- Thank you received: 1
-
-

34 minutes ago [\#100000833](#100000833) by [pablop76](/forum/user/59854-pablop76 "View pablop76's Profile")  *[Google Products plugin: browser saves admin login into hidden FTP fields (plain](/forum/2-general-talk-about-hikashop/100000180-google-products-plugin-browser-saves-admin-login-into-hidden-ftp-fields-plain#100000833 "-- HikaShop version -- : 6.8.2 business -- Joomla version -- : 6.2.1 -- PHP version -- : 8.3 -- Browser(s) name and version -- : Chrome 158.0")* was created by *[pablop76](/forum/user/59854-pablop76 "View pablop76's Profile")*

-- HikaShop version -- : 6.8.2 business
-- Joomla version -- : 6.2.1
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Chrome 158.0
Code:

Hello, I found a problem with the "Hikashop Google Products Plugin" (HikaShop 6.8.2, Joomla 6.2.1). The fields "FTP User Name" (user_name) and "FTP Password" (google_password) have showon="enable_auto_update:1", so they are hidden when "Enable Auto Update" is set to No. They are still part of the form and are submitted on save. The browser's password manager sees a text field followed by a password field and fills them with the saved Joomla administrator login. The user can't see it, because the fields are hidden. On save, the administrator username and password are stored in plain text in the plugin params in #__extensions, and from there they go into every database backup and site copy. Clearing the fields doesn't help: the browser fills them again at the next save. Steps to reproduce: 1. Save the Joomla administrator login in the browser's password manager. 2. Open System &gt; Manage &gt; Plugins &gt; Hikashop Google Products Plugin. Leave "Enable Auto Update" set to No. 3. Click Save. 4. Look at the params of the plugin in #__extensions: user_name and google_password contain the administrator login and password. Suggested fix: add autocomplete attributes to both fields in google_products.xml (the &lt;config&gt; section, and the &lt;params&gt; section too if HikaShop's own interface uses it): &lt;field name="user_name" ... autocomplete="off" /&gt; &lt;field name="google_password" ... autocomplete="new-password" /&gt; Browsers don't fill saved passwords into a field marked "new-password". Joomla's text and password fields already support the autocomplete attribute. Workaround until then: switch "Enable Auto Update" to Yes, type any dummy text into both fields, switch back to No and save. The browser doesn't overwrite fields that already have a value. Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzEwMDAwMDE4MC1nb29nbGUtcHJvZHVjdHMtcGx1Z2luLWJyb3dzZXItc2F2ZXMtYWRtaW4tbG9naW4taW50by1oaWRkZW4tZnRwLWZpZWxkcy1wbGFpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.037 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
