It is a two-component foam, obtained after mixing component A (aqueous solution of phenolformaldehyde resin) and component B (aqueous solution of organic and inorganic acids) in a volume ratio of 4:1. The foam property allows use under various geological and mining conditions.