1cm x 1cm box section is way too small for any off the shelf wax sprayer to deliver a suitable thickness coating The typical recommended coating thickness for cavity wax is around 0.1mm 'wet' which reduces to about 30% of that when all the solvents have flashed off. Underbody waxes are applied at about 0.75mm flashing off to about 0.4mm.
By off the shelf wax sprayers I include the waxoyl pump-up tin of old, the aerosols with extensions, a Schutz Gun and the professional compresser fed cavity wax gun with multiple interchageable nozzles and spray patterns as used by many body shops.
All you will be able to do with any of those methods and that size cavity is to massively overtreat and partly fill the cavity and that can stop it draining. This could be a very bad thing to do, actually promoting more rust and making any subsequent weld repair 'interesting'
It's the wrong time of year to be considering treatment, pick a very hot day and get the wax as hot as you can. Let any excess drain, maybe drilling additional holes Even then you'd be far better off fabricating a new piece of steel, possibly a bigger section if you can, properly removing the rot and getting it properly welded.
Dinitrol do an aerosol phosphoric acid RC900 which can (although not specified as such) use an extension nozzle used for their range of waxes but it will only give you a couple of feet of extension.
rejelrustproofing on ebay is a good mail order source for Dinitrol phosphoric acid, cavity and underbody wax and application kit (no connection)
While it is British I'd not use Waxoyl, it's still iirc a one mix formula does all and cavities have totally different requirements to exposed underbodies, and old cavities have different requirements to new ones. The waxes that vehicle manufacturers use have been way ahead of Waxoyl for decades.