Quick solution using G'MIC (command line tool)
Save the following to a text file, called 'white.gmic' or any other name:
make_white:
TOLERANCE=60 #adjust as needed
{w},{h},1,3,0 #create mask image
-rectangle[1] 0,0,100%,70%,1,255 #set the mask to exclude the upper 70% from flood fill
--add[0] [1] #combine image+mask
-remove[0] #original image is no longer needed
-flood[1] 50%,90%,0,$TOLERANCE,0,1,255 #flood fill the bottom background
-rectangle[1] 0,95%,100%,100%,1,255 #paint over the green glass edge
-sub[1] [0] #undo mask, recover the original image
-remove[0] #remove mask
Then, use G'MIC to process your photos:
gmic white.gmic bottle.jpg -make_white -output bottle_processed.jpg
Or for multiple images (this specific example is meant for linux and similar os, the G'MIC itself and the scripts you make for G'MIC are multiplatform and should work everywhere)
for filename in *.jpg; do gmic white.gmic $filename -make_white -output other_folder/$filename; done
The result:

G'MIC can be also used inside Gimp, the user defined actions like 'make_white' here, will appear in the Gimp's G'MIC plugin (but I never tried this, and for batch processing, command line is probably more convenient anyway)